From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jarek Czekalski Newsgroups: gmane.emacs.bugs Subject: bug#15274: 24.3; space instead of codepoint 261 on windows console with cp852 Date: Thu, 05 Sep 2013 12:17:05 +0200 Message-ID: <52285A21.5070207@poczta.onet.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1378395324 1675 80.91.229.3 (5 Sep 2013 15:35:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Sep 2013 15:35:24 +0000 (UTC) To: 15274@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 05 17:35:26 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VHbag-000358-6t for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Sep 2013 17:35:26 +0200 Original-Received: from localhost ([::1]:60547 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHbaf-0001Pu-R2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Sep 2013 11:35:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55196) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHbZR-0008FP-Sf for bug-gnu-emacs@gnu.org; Thu, 05 Sep 2013 11:34:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHbZL-0001hi-BI for bug-gnu-emacs@gnu.org; Thu, 05 Sep 2013 11:34:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHbZL-0001hc-0s for bug-gnu-emacs@gnu.org; Thu, 05 Sep 2013 11:34:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VHbZK-0003AE-HR for bug-gnu-emacs@gnu.org; Thu, 05 Sep 2013 11:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jarek Czekalski Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Sep 2013 15:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15274 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.137839518712057 (code B ref -1); Thu, 05 Sep 2013 15:34:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Sep 2013 15:33:07 +0000 Original-Received: from localhost ([127.0.0.1]:42017 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VHbYO-00038O-Rb for submit@debbugs.gnu.org; Thu, 05 Sep 2013 11:33:06 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34285) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VHX7A-0003It-Ob for submit@debbugs.gnu.org; Thu, 05 Sep 2013 06:48:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHX6z-000336-HP for submit@debbugs.gnu.org; Thu, 05 Sep 2013 06:48:35 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:35717) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHX6z-000332-ED for submit@debbugs.gnu.org; Thu, 05 Sep 2013 06:48:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHX6t-0001aD-KJ for bug-gnu-emacs@gnu.org; Thu, 05 Sep 2013 06:48:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHX6o-000312-1P for bug-gnu-emacs@gnu.org; Thu, 05 Sep 2013 06:48:23 -0400 Original-Received: from smtpo11.poczta.onet.pl ([213.180.142.142]:50335) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHX6n-00030w-Jj for bug-gnu-emacs@gnu.org; Thu, 05 Sep 2013 06:48:17 -0400 Original-Received: from [192.168.17.9] (cj.e-siemianowice.pl [95.215.234.30]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jarekczek@poczta.onet.pl) by smtp.poczta.onet.pl (Onet) with ESMTPSA id 3cVyW35SHvz9v8rx for ; Thu, 5 Sep 2013 12:17:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=poczta.onet.pl; s=2011; t=1378376223; bh=ETz3LOoGjDHxH87RkjjTRP+G+fN7hRxhEqM5YpAJHbM=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=iUZQ+564Ed739z8v2LS9y5bvopkHRjt8OSkKwP/Blbe0T7akYfIXxYgdOCGmbFgBT cpEARv8IAcPD0KXbbXxyih+Jx0bdWFa5oubcebSUJR+sZpQb4J+E1fEcPZ/EzmQWrE K7ApgS3TJxqeN7Gdq6PD0CO9GMWx+x8h2C9wlcVk= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Thu, 05 Sep 2013 11:33:02 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:78002 Archived-At: Hi! I produced a file (under a different text editor) containing 16 Polish international characters. This file is encoded in ibm852 (cp852) and displays correctly in gui emacs on windows. It also displays correctly in a console after typing type win_cp.txt I start emacs -Q -nw, set terminal encoding to cp852. When the file is loaded into console emacs (-nw) and the correct file encoding is assured (revert-buffer-with-coding, cp852) then some characters are displayed correctly and some not. Those displayed incorrectly are replaced with spaces. For example the first one in the file ("a" with a tail, U+0105) is displayed incorrectly and the second one ("c" with an accent, U+0107) is displayed correctly. I employed C-u C-x =3D command to see the details of both characters. The info seems to be correct including the character codes in the encoding: A5, 86 - respectively. The same code appears under "terminal code" entry, what seems to be correct. I regret there is no thing like "ascii with \U java escapes" encoding. It would be perfect for sending this file to you. If you suggest another encoding, I'll provide the file in that encoding. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file d:/Program_Files/emacs/etc/DEBUG. In GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --with-gcc (4.7) --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2' Important settings: value of $LANG: PLK locale-coding-system: cp1250 default enable-multibyte-characters: t Major mode: Text Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-f w i n _ c p M-x r e v e r t - b u - c p 8 5 2 y e s M-x d e s c r i c o d C-u C-x =3D M-x r e p o r Recent messages: ("d:\\Program_Files\\emacs\\bin\\emacs.exe") For information about GNU Emacs and the GNU system, type C-h C-a. win_cp.txt has auto save data; consider M-x recover-this-file Making completion list... You can run the command `revert-buffer-with-coding-system' with C-x RET r You can run the command `describe-coding-system' with C-h C Char: =C2=B1 (261, #o405, #x105, file #xA5) point=3D1 of 20 (0%) column=3D= 0 Making completion list... Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils pp wid-edit descr-text mule-diag help-mode easymenu time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32 multi-tty emacs)