|
From: | Markus Mützel |
Subject: | [Octave-bug-tracker] [bug #58637] Fullwidth CJK characters are displayed twice in command window (on Windows) |
Date: | Mon, 21 Sep 2020 14:28:18 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36 Edg/85.0.564.51 |
Follow-up Comment #5, bug #58637 (project octave): @Torsten: That looks like the file was parsed as ISO 8859-1 (or a similar encoding like CP-1251 or others). What do you get for `__mfile_encoding__`? If it is "system", what does `__locale_charset__` return? That file is encoded in UTF-8. You might need to change the `__mfile_encoding__` and reparse the file: __mfile_encoding__ __locale_charset__ __mfile_encoding__ utf-8 clear faa faa Might also be a difference between Windows 10 and Windows 7. I believe Unicode support at the command prompt was still incomplete in Windows 7. Does Windows 7 have a "Legacy Console" setting? In Windows 10 that setting can be changed in the properties of the command prompt (cmd.exe). The "Options" tab has a "Use legacy console" checkbox which is unset for me. (I translated those settings from German. So their actual name might be different.) IIRC that setting also effects how the Octave command window behaves in Windows. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?58637> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |