Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISO-8859-2 support #89

Open
pch3 opened this issue Jul 12, 2024 · 2 comments
Open

ISO-8859-2 support #89

pch3 opened this issue Jul 12, 2024 · 2 comments

Comments

@pch3
Copy link

pch3 commented Jul 12, 2024

Hi

Thanks for maintaining tf.
I tried to force this version of tf to display correctly iso-8859-2 chars, but failed.
When I run "old" version of tf or connect via netcat/telner, I get PL characters displayed correctly on my terminal, but I missing timestamp and ansi color logging provided by your version.
This version - I tried multiple combinations of locale/terminal encoding settings and PL characters are always displayed incorrectly.

Can you help me out please?

@ingwarsw
Copy link
Owner

ingwarsw commented Jul 13, 2024

What polish mud have polish characters?

Did you tried UTF-8?

@pch3
Copy link
Author

pch3 commented Jul 14, 2024

cygnus reborn, AFAIK cygnus reborn does not support UTF8 yet.

I got partial success: I complited tf without widechar support (--disable-widechar ), set mud to iso encoding (config +iso) and:

  • on mac terminal or iterm2 set terminal encoding to iso latin2 + in tf: /setenv LANG=pl_PL.iso-8859-2. This works correctly.
  • on windows terminal, same config like on mac, but additionally I have to run tf via luit. From what I read, windows terminal supports only UTF-8.

I was not able to force tf to display PL chars correctly when compiled with widechart support enabled.

Ideally tf could convert from various encodings to UTF-8 on the fly, but I guess thats a feature request and not a bug report :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants