From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eduard Wiebe Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#4915: 23.1.50; problem with start-process and utf-16-le-dos coding system Date: Thu, 12 Nov 2009 21:37:00 +0100 Message-ID: <86vdhfscnn.fsf@nirvana.pusto.de> Reply-To: Eduard Wiebe , 4915@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1258144618 15622 80.91.229.12 (13 Nov 2009 20:36:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Nov 2009 20:36:58 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 13 21:36:51 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N92sv-0001VJ-RT for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Nov 2009 21:36:47 +0100 Original-Received: from localhost ([127.0.0.1]:42342 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N92sv-0008OO-9y for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Nov 2009 15:36:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8gZi-0001Ls-Dl for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2009 15:47:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8gZe-0001JN-6d for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2009 15:47:26 -0500 Original-Received: from [199.232.76.173] (port=57926 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8gZe-0001JG-2s for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2009 15:47:22 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57513) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N8gZd-0007LA-DV for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2009 15:47:21 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nACKlIFi018350; Thu, 12 Nov 2009 12:47:19 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nACKj6wL017931; Thu, 12 Nov 2009 12:45:06 -0800 Resent-Date: Thu, 12 Nov 2009 12:45:06 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eduard Wiebe Original-Sender: Eduard Wiebe Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 12 Nov 2009 20:45:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4915 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125805823717137 (code B ref -1); Thu, 12 Nov 2009 20:45:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 12 Nov 2009 20:37:17 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nACKbFIq017134 for ; Thu, 12 Nov 2009 12:37:17 -0800 Original-Received: from mx10.gnu.org ([199.232.76.166]:51434) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1N8gPq-0003iB-6E for emacs-pretest-bug@gnu.org; Thu, 12 Nov 2009 15:37:14 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1N8gPl-0005z8-1W for emacs-pretest-bug@gnu.org; Thu, 12 Nov 2009 15:37:13 -0500 Original-Received: from wp093.webpack.hosteurope.de ([80.237.132.100]:45749) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N8gPj-0005yO-UB for emacs-pretest-bug@gnu.org; Thu, 12 Nov 2009 15:37:08 -0500 Original-Received: from f055147177.adsl.alicedsl.de ([78.55.147.177] helo=nirvana.pusto.de); authenticated by wp093.webpack.hosteurope.de running ExIM with esmtpsa (TLSv1:DES-CBC3-SHA:168) id 1N8gPd-0002sq-Rj; Thu, 12 Nov 2009 21:37:02 +0100 Original-Received: from ew by nirvana.pusto.de with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1N8gPd-0000ej-85 for emacs-pretest-bug@gnu.org; Thu, 12 Nov 2009 21:37:01 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (berkeley-unix) X-bounce-key: webpack.hosteurope.de;ew@pusto.de;1258058227;b19cfbf9; X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 12 Nov 2009 15:47:26 -0500 X-Mailman-Approved-At: Fri, 13 Nov 2009 15:36:31 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32593 gmane.emacs.pretest.bugs:25182 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing lis= t. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I have a problem with following elisp snippet: (let ((coding-system-for-read 'utf-16-le-dos) (coding-system-for-write 'utf-16-le-dos)) (start-process "ucs" "ucs" "cat" "utf-16-studie.txt")) File utf-16-studie.txt contains some umlauts and a unicode character --- utf-16-studie.txt content --- =C3=A4=C3=B6=C3=BC=C3=9F=E2=94=B0 --- utf-16-studie.txt content --- and is saved with utf-16-le-dos coding system. After evaluation of the let form above the buffer "ucs" looks like this: --- ucs buffer content --- =E6=B0=A8=E7=91=A5=E2=A0=A0=E6=8C=A8=E6=91=AF=E6=B9=A9=E2=B5=A7=E7=A5=B3=E7= =91=B3=E6=B5=A5=E6=98=AD=E7=89=AF=E7=88=AD=E6=85=A5=E2=81=A4=E2=9C=A0=E7=91= =B5=E2=B5=A6=E3=98=B1=E6=B0=AD=E2=B5=A5=E6=BD=A4=E2=A5=B3=E2=80=8A=E2=80=A0= =E2=80=A0=E2=A0=A0=E6=BD=A3=E6=A5=A4=E6=9D=AE=E7=8C=AD=E7=8D=B9=E6=95=B4=E2= =B5=AD=E6=BD=A6=E2=B5=B2=E7=89=B7=E7=91=A9=E2=81=A5=E7=94=A7=E6=99=B4=E3=84= =AD=E2=B4=B6=E6=95=AC=E6=90=AD=E7=8D=AF=E2=A4=A9=E2=80=8A=E2=A0=A0=E7=91=B3= =E7=89=A1=E2=B5=B4=E7=89=B0=E6=8D=AF=E7=8D=A5=E2=81=B3=E2=88=A0=E6=8D=B5=E2= =89=B3=E2=88=A0=E6=8D=B5=E2=89=B3=E2=88=A0=E6=85=A3=E2=89=B4=E2=88=A0=E7=91= =B5=E2=B5=A6=E3=98=B1=E7=8C=AD=E7=95=B4=E6=A5=A4=E2=B9=A5=E6=B1=A5=E2=A4=A2= =E0=A8=A9 Process ucs finished --- ucs buffer content --- C-u C-x h on the first glyph in ucs buffer generate following output: character: =E6=B0=A8 (27688, #o66050, #x6c28) preferred charset: unicode (Unicode (ISO10646)) code point: 0x6C28 syntax: w which means: word category: .:Base, C:2-byte han, c:Chinese, j:Japanese, |:line brea= kable buffer code: #xE6 #xB0 #xA8 file code: #xE6 #xB0 #xA8 (encoded by coding system nil) display: by this font (glyph code) x:-isas-song ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0 (#x30= 31) Character code properties: customize what to show name: CJK IDEOGRAPH-6C28 general-category: Lo (Letter, Other) Also i observe the same behaviour under 22.3.1. 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'. If you would like to further debug the crash, please read the file /home/ew/Software/share/emacs/23.1.50/etc/DEBUG for instructions. In GNU Emacs 23.1.50.3 (i386-unknown-freebsd7.2, GTK+ Version 2.16.2) of 2009-10-15 on nirvana.pusto.de Windowing system distributor `The X.Org Foundation', version 11.0.10601000 configured using `configure '--prefix=3D/home/ew/Software'' Important settings: value of $LC_ALL: C value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.ISO8859-1 value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: eldoc-mode: t display-time-mode: t icomplete-mode: t show-paren-mode: t partial-completion-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: M-x r e p - e m - b u C-x k=20 y e s C-x 1 M-x Recent messages: Checking 57 files in /home/ew/Software/share/emacs/23.1.50/lisp/eshell... Checking 70 files in /home/ew/Software/share/emacs/23.1.50/lisp/erc... Checking 52 files in /home/ew/Software/share/emacs/23.1.50/lisp/emulation... Checking 144 files in /home/ew/Software/share/emacs/23.1.50/lisp/emacs-lisp= ... Checking 24 files in /home/ew/Software/share/emacs/23.1.50/lisp/cedet... Checking 57 files in /home/ew/Software/share/emacs/23.1.50/lisp/calendar... Checking 87 files in /home/ew/Software/share/emacs/23.1.50/lisp/calc... Checking 33 files in /home/ew/Software/share/emacs/23.1.50/lisp/obsolete... Checking 1 files in /home/ew/Software/share/emacs/23.1.50/leim... Checking for load-path shadows...done Load-path shadows: None found. Features: (shadow gnus-cite flyspell ispell mail-extr gnus-msg gnus-art mm-uu mml2015 epg-config mm-view smime dig gnus-sum nnoo gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int gnus-range gnus-win message ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev gmm-utils mailheader canlock sha1 hex-util hashcash gnus gnus-ems nnheader gnus-util netrc mail-utils mm-util mail-prsvr wid-edit emacsbug sendmail eldoc wepkey typist utils ibuf-ext ibuffer remember org-remember org byte-opt bytecomp byte-compile advice help-fns help-mode view advice-preload org-footnote org-src org-list org-faces org-compat org-macs easymenu time-date noutline outline easy-mmode executable browse-url ps-print ps-def lpr windmove winner ring image-dired format-spec edmacro kmacro dired-x dired-aux dired regexp-opt ffap ido time avoid icomplete paren complete tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag 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 loaddefs button minibuffer faces cus-face text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gtk x-toolkit x multi-tty emacs) --=20 Eduard Wiebe --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename=utf-16-studie.txt Content-Transfer-Encoding: base64 w6TDtsO8w5/ilLANCg== --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; filename=utf-16-studie.el Content-Transfer-Encoding: quoted-printable (let ((coding-system-for-read 'utf-16-le-dos) (coding-system-for-write 'utf-16-le-dos)) (start-process "ucs" "ucs" "cat" "utf-16-studie.el")) --=-=-=--