From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de> Newsgroups: gmane.emacs.bugs Subject: Broken charset=utf-16be articles with Gnus and Emacs 21.3 Date: Sat, 29 Mar 2003 12:11:11 +0100 Organization: private Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: Reply-To: reiner.steib@gmx.de NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1048936933 20140 80.91.224.249 (29 Mar 2003 11:22:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 29 Mar 2003 11:22:13 +0000 (UTC) Cc: bugs@gnus.org Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 29 12:22:11 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18zEPb-0005Ef-00 for ; Sat, 29 Mar 2003 12:22:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18zEOt-0001dP-03 for gnu-bug-gnu-emacs@m.gmane.org; Sat, 29 Mar 2003 06:21:27 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18zEOS-0001IF-00 for bug-gnu-emacs@gnu.org; Sat, 29 Mar 2003 06:21:00 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18zEO1-0000M1-00 for bug-gnu-emacs@gnu.org; Sat, 29 Mar 2003 06:20:37 -0500 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18zEO0-0000Eg-00 for bug-gnu-emacs@gnu.org; Sat, 29 Mar 2003 06:20:32 -0500 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18zENq-00059x-00 for ; Sat, 29 Mar 2003 12:20:22 +0100 Mail-Followup-To: bug-gnu-emacs@gnu.org X-Injected-Via-Gmane: http://gmane.org/ Original-To: bug-gnu-emacs@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18zEG4-0004om-00 for ; Sat, 29 Mar 2003 12:12:20 +0100 Original-Lines: 79 Original-X-Complaints-To: usenet@main.gmane.org X-Face: 1;h7XMU[7l}$T@J.D}5z*w8Tg'}B5ArAWc8>2X~otB; kOjKs8X%|hTC#dG:%Vpx")x7S/`v :VXU#fZW$X$zdhEU.RfVQ@<-m9IuN{Hm"fW{,5]6kR'M*vEs+{5Cj!L(JTRzA$(},?5J=sm;%Od Original-cc: Mark Trettin X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4663 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4663 In GNU Emacs 21.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2003-03-19 on ni configured using `configure --prefix=/import/xtra/emacs/RC' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: POSIX value of $LC_CTYPE: en_US.ISO_8859-1 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: C locale-coding-system: iso-latin-1 default-enable-multibyte-characters: t Gnus v5.9.0 GNU Emacs 21.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2003-03-19 on ni 200 news.uni-ulm.de DNEWS Version 5.6f3,, S0, posting OK Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Actions to reproduce the bug: - Start Gnus `M-x gnus RET' and compose an article `a'. - Switch to TeX input method: `M-x set-input-method RET TeX RET' - Enter some characters: \sigma ä (a with diaeresis) \omega (Note: \sigma and \omega (without ä) is not sufficient.) .. *or* ... \sigma \omega \alpha \o \int - Preview `M-m P' (or `C-u M-m P') or send the message. The preview (and the outgoing message) will be encoded with "Content-Type: text/plain; charset=utf-16be" and it will not be readable with Gnus and most other MUAs or newsreaders. I've been told (-> Simon Krahnke) that the result isn't even correct UTF-16. Expected behavior: - The article should be encoded with "Content-Type: text/plain; charset=utf-8". Note: I'm sending this message with a different version of Gnus, so don't be confused when looking at my User-Agent header. FWIW, the same bug also happens with Oort Gnus from CVS. With Emacs 21.1 / Gnus 5.9.0 [1] and with Emacs 21.2 / Oort Gnus v0.17 [2] we have the expected behavior [1]. Therefore I think this is a bug in Emacs 21.3, but I'm not sure (Cc-ing bugs@gnus.org). Additional confusion: Replying to [1] (with full citation), I get utf-8 [3], but copying the non-Latin charaters into this buffer results in utf-16be in the preview. I also get utf-16be, when I reply to [2] and delete the lines containing the word "Blindtext". Bye, Reiner. [1] Reported by Simon Krahnke: (Newsgroups: de.comm.software.gnus) [2] Reported by Mark Trettin: (Newsgroups: de.comm.software.gnus) [3] (Newsgroups: de.comm.software.gnus) -- ,,, (o o) ---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/