View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003969 | Far Manager | Editor | public | 2022-11-27 16:56 | 2022-12-11 17:50 |
Reporter | gyorokpeter | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | x64 | OS | Windows | OS Version | 11 |
Product Version | 3.0 | ||||
Summary | 0003969: Incorrect display of files with UTF-8 characters in Windows Terminal | ||||
Description | When using the latest preview version of Windows Terminal (Version: 1.16.2642.0), opening a file containing UTF-8 multibyte characters (Chinese in my case) causes the lines to be incorrectly indented. This also completely breaks hex view which hinges on the content being properly aligned. | ||||
Steps To Reproduce | Point to a.txt and press F3 or F4. Both cause the line alignment to be broken. In view mode, press F4 for hex view - that is also broken. | ||||
Tags | No tags attached. | ||||
Build | |||||
|
a.txt (125 bytes)
aaaaaaaa 你好 bbbbbbbb aaaaaaaa 你好 bbbbbbbb aaaaaaaa 你好 bbbbbbbb aaaaaaaa 你好 bbbbbbbb aaaaaaaa 你好 bbbbbbbb |
|
Switching to ANSI/OEM mode is a workaround, although it makes the text illegible. This also requires unchecking "Autodetect code page" for both viewer and editor settings otherwise it will switch back to UTF-8 for every file not opened before. |
|
Options, Interface settings [x] Use Virtual Terminal for rendering [x] Fullwidth-aware rendering Ok, Shift+F9, restart Far. |
|
That seems to work, why aren't these the default (at least if using Windows Terminal)? |
|
Mostly because the fullwidth support is still rudimentary - we don't have that many East-Asian users unfortunately. |
|
Another thing that I noticed is that after pressing OK in "Interface Settings" the color scheme changes to a darker one. But it's fixed after restarting. |
|
The darker one is "classic" - it was the default for a quarter of a century or so until MS changed it in Windows 10. This has made a lot of people very angry and been widely regarded as a bad move, so now we override the palette by default (you can turn it off Options - Colors - Palette). It is unexpected that "Interface Settings" affects the palette, could you provide the exact steps to reproduce it? |
|
It just happens when I press OK on "Interface Settings". I'm not changing any settings. Also this is the only dialog that I found to trigger it. |
|
Ok, that should be fixed now. Regarding the initial issue: as I mentioned, full width support is still rather rudimentary so you might still notice various issues here and there. We know about them and things will get better with time. |
|
Another case in which the color scheme changes is when executing any command via the built-in command line (even simple ones like cd). |
|
Also an update on the original issue: even with those settings enabled, the highlight when searching for text in the viewer will be out of position. |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-11-27 16:56 | gyorokpeter | New Issue | |
2022-11-27 16:56 | gyorokpeter | File Added: a.txt | |
2022-11-27 16:56 | gyorokpeter | File Added: f3.png | |
2022-11-27 16:56 | gyorokpeter | File Added: f3hex.png | |
2022-11-27 16:56 | gyorokpeter | File Added: f4.png | |
2022-11-27 17:01 | gyorokpeter | Note Added: 0017361 | |
2022-11-27 17:24 | DrKnS | Note Added: 0017362 | |
2022-11-27 17:36 | gyorokpeter | Note Added: 0017363 | |
2022-11-27 17:59 | DrKnS | Note Added: 0017364 | |
2022-11-27 18:00 | gyorokpeter | Note Added: 0017365 | |
2022-11-27 18:00 | gyorokpeter | File Added: dark.png | |
2022-11-27 18:00 | gyorokpeter | File Added: normal.png | |
2022-11-27 18:20 | DrKnS | Note Added: 0017366 | |
2022-11-27 18:52 | gyorokpeter | Note Added: 0017367 | |
2022-11-27 18:52 | gyorokpeter | File Added: ifsetting.png | |
2022-11-27 20:36 | DrKnS | Note Added: 0017368 | |
2022-12-11 17:45 | gyorokpeter | Note Added: 0017370 | |
2022-12-11 17:50 | gyorokpeter | Note Added: 0017371 | |
2022-12-11 17:50 | gyorokpeter | File Added: f3highlight.png |