Replies: 2 comments 4 replies
-
Hi @gatokichi - I believe that you should be able to do this today, though will take a bit of customization. First you will need to save your art files in utf-8. Most of the modern ANSI art programs should be able to do this, I'm pretty sure IcyDraw can for example. Then in the menus config use the "encodedAs" option to tell it that the art file is in utf-8 (unfortunately, I don't see that it is documented though it should be, but if you are comfortable looking at code, you can see more details at: Line 89 in 6766f6e After that, change your menu config to force the connection to utf-8 using the Hopefully, that should force everything into utf-8 and fix the issues you are seeing. Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
@gatokichi I love that Enig is being used in a non-Romanized language! As @cognitivegears says, you could force all menus to UTF-8, and if needed, also save all art as UTF-8. Enigma will read all ANSI file as CP437 and convert to the clients encoding of UTF-8 if needed. Perhaps a small PR could set some global enforcement such as If @cognitivegears' suggestions work for you, that will give some information as to what we could do here to make things easier. |
Beta Was this translation helpful? Give feedback.
-
I understand that ENiGMA½ BBS prioritizes ANSI display compatibility. However, in my country's language, switching between ANSI(cp437) and UTF-8 can cause characters, especially full-width ones, to be displayed incorrectly, resulting in garbled text. Even if I re-specify the encoding in the terminal, the display may not be corrected. I believe this issue also affects Chinese characters, Japanese Kana, Korean Hangul, and other non-alphabetic scripts.
Is there a way to disable the switching between ANSI and UTF-8 and fix the encoding to UTF-8 for the entire ENiGMA½ BBS system (for all users)?
Beta Was this translation helpful? Give feedback.
All reactions