From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#42099: Emacs -nw Turkish Layout Problem Date: Sun, 28 Jun 2020 17:19:26 +0300 Message-ID: <83h7uv2ryp.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="29667"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 42099@debbugs.gnu.org To: Yigit Emre Sahinoglu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 28 16:20:09 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jpYAD-0007cK-7R for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 28 Jun 2020 16:20:09 +0200 Original-Received: from localhost ([::1]:41564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jpYAC-0005Ke-8Z for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 28 Jun 2020 10:20:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jpYA6-0005KD-3B for bug-gnu-emacs@gnu.org; Sun, 28 Jun 2020 10:20:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35215) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jpYA5-00048Q-PN for bug-gnu-emacs@gnu.org; Sun, 28 Jun 2020 10:20:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jpYA5-0002CQ-LV for bug-gnu-emacs@gnu.org; Sun, 28 Jun 2020 10:20:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Jun 2020 14:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42099 X-GNU-PR-Package: emacs Original-Received: via spool by 42099-submit@debbugs.gnu.org id=B42099.15933539888431 (code B ref 42099); Sun, 28 Jun 2020 14:20:01 +0000 Original-Received: (at 42099) by debbugs.gnu.org; 28 Jun 2020 14:19:48 +0000 Original-Received: from localhost ([127.0.0.1]:46761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpY9s-0002Bv-2e for submit@debbugs.gnu.org; Sun, 28 Jun 2020 10:19:48 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpY9p-0002Bh-9g for 42099@debbugs.gnu.org; Sun, 28 Jun 2020 10:19:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43191) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jpY9k-00046X-1g; Sun, 28 Jun 2020 10:19:40 -0400 Original-Received: from [176.228.60.248] (port=1317 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jpY9j-0003zl-Et; Sun, 28 Jun 2020 10:19:39 -0400 In-Reply-To: (message from Yigit Emre Sahinoglu on Sun, 28 Jun 2020 04:23:59 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:182460 Archived-At: > From: Yigit Emre Sahinoglu > Date: Sun, 28 Jun 2020 04:23:59 +0300 > > When using emacs from terminal with -nw option (with or without -Q), > some characters are not working properly. It's somehow keyboard layout > half messed up. Characters like ö,ç,ü are working but ş (U+015F), Ş (U+15E), > ğ (U+011E) and Ğ (U+011F) are not working. ş is return _ and Ş is return ^. i is working but instead of İ, 0 is > returned. Changing the coding system cp1254 > (Windows Turkish) doesn't have any effect. It's discovered by > https://www.reddit.com/r/emacs/comments/hgvcth/cant_type_the_characters_%C5%9F_or_%C4%9F_in_emacs_nw_on/ What is the console input and output codepages on that system? If you are not sure, use the functions w32-get-console-codepage and w32-get-console-output-codepage to find out. Also, what is the font that the Command Prompt window is using on that system, and does it support those characters? what happens if you configure the Command Prompt window to use the Lucida Console font, for example? And finally, please go to the place where you insert one of the problematic characters and type "C-x =" -- does Emacs show in the echo area the correct codepoint? >From the Reddit discussion, I understand that you are using some non-default console program to display text-mode frames. If so, please make sure to try all of the above from the default Command Prompt window that runs the default Windows shell cmd.exe.