GNU bug report logs -
#42099
Emacs -nw Turkish Layout Problem
Previous Next
Full log
View this message in rfc822 format
[Please keep the bug address on the CC line.]
> From: Yigit Emre Sahinoglu <yigitemres <at> gmail.com>
> Date: Sun, 28 Jun 2020 18:21:17 +0300
>
> w32-get-console-codepage, w32-get-console-output-codepage = 437 (#o665, #x1b5) (for GUI and "-Q
> -nw")
This is part of the problem, I think: codepage 437 doesn't support
Turkish characters.
> Command prompt fonts and encodings are fine for the system part. As I'm aware, encodings are fine
> (because GUI don't have this problem and the problem still exists with -Q) for the Emacs, too.
The GUI display is completely different from the -nw display in this
aspect, so the fact that GUI frames display correctly doesn't mean
anything regarding the text-mode display issues.
> I insert all Turkish char to the text file. After opening that file with "emacs -Q -nw" get this:
>
> Original: ö Ö ç Ç ş Ş i İ ğ Ğ ü Ü
> Emacs Response: ö Ö ç Ç \u015F \u015E i \u0130 \u011F \u011E ü Ü
This is clearly a display problem: Emacs uses the \u Unicode escapes
because it knows that codepage 437 cannot display those characters.
This is not the problem reported by the OP in Reddit. There, the
problem seems to be one of _typing_ Turkish characters: he types a
character, but instead of inserting it Emacs invokes the 'undo'
command. I think that problem is due to some strange interaction
between the non-default console emulator he uses and the Turkish
letters.
This bug report was last modified 3 years and 78 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.