From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aidan Kehoe Newsgroups: gmane.emacs.devel Subject: Re: Bugs with German umlauts in file name Date: Sun, 18 Nov 2007 21:08:41 +0100 Message-ID: <18240.39881.599196.246888@parhasard.net> References: <9E03E170-4EA2-4409-8996-245A740732C0@gmx.de> <57EEE054-BE4C-4B93-9163-31D138159A54@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1195416537 11414 80.91.229.12 (18 Nov 2007 20:08:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Nov 2007 20:08:57 +0000 (UTC) Cc: emacs- devel To: David Reitter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 18 21:09:02 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ItqRt-0004Rm-DR for ged-emacs-devel@m.gmane.org; Sun, 18 Nov 2007 21:08:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ItqRf-0003cR-OT for ged-emacs-devel@m.gmane.org; Sun, 18 Nov 2007 15:08:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ItqRb-0003cM-QV for emacs-devel@gnu.org; Sun, 18 Nov 2007 15:08:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ItqRa-0003cA-BD for emacs-devel@gnu.org; Sun, 18 Nov 2007 15:08:38 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ItqRa-0003c7-5D for emacs-devel@gnu.org; Sun, 18 Nov 2007 15:08:38 -0500 Original-Received: from daedalus.ipv4.asclepian.ie ([213.133.100.226] helo=daedalus.asclepian.ie) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ItqRZ-0005IC-EV for emacs-devel@gnu.org; Sun, 18 Nov 2007 15:08:37 -0500 Original-Received: by daedalus.asclepian.ie (Postfix, from userid 1002) id CA043B82D; Sun, 18 Nov 2007 20:08:41 +0000 (GMT) In-Reply-To: <57EEE054-BE4C-4B93-9163-31D138159A54@gmail.com> X-Mailer: VM 7.19 under 21.5 (beta28) "fuki" (+CVS-20070826) XEmacs Lucid X-Echelon-distraction: GQ360 Texas Tess PBX Offensive Information zip X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:83561 Archived-At: Ar an t-ocht=C3=BA l=C3=A1 d=C3=A9ag de m=C3=AD na Samhain, scr=C3=ADobh= David Reitter:=20 > (repost) >=20 > Please see the bug report below. >=20 > I can confirm general display problems with umlauts in file names (see= =20 > also screenshot) in current CVS 22 builds (Carbon). OS X uses something close to UTF-8 in normal form D--see http://developer.apple.com/qa/qa2001/qa1173.html for details--for file na= me encoding, where the canonical form for a precomposed character is the bas= e character followed by a combining character. If you do C-u C-x =3D on the box, it should tell you that it represents U= +0308 COMBINING DIAERESIS; that it is not shown as a combined diaeresis is redisplay problem with GNU Emacs. The most common encoding of "=C3=B6" in UTF-8 is the representation of U+= 00F6, "\xc3\xe6". GNU Emacs handles that fine, which is why you won=E2=80=99t s= ee this problem on Linux, where as a rule normalisation is not done. U+006F follo= wed by U+0308 (what you=E2=80=99re seeing: "o\xcc\x88" on disk) is preserved = on reading and writing, which is good, and the OS X libraries automatically normalis= e when presented with non-normalised UTF-8 text, which is also good. So the bug is basically that character composition is not supported for UTF-8 path names under OS X. Actual support for normalisation in the Unic= ode coding systems would also be nice to have, but is not amazingly relevant = for this particular problem, since the OS does it already. > Incidentally: does Emacs still crash when started from a path name =20 > that contains anything but 7-bit ASCII characters? >=20 > Emacs also brings up an annoying question about encoding when =20 > automatically saving 'places' at the end of the session. >=20 >=20 >=20 >=20 >=20 >=20 >=20 > Begin forwarded message: >=20 > > From: Markus Ni=C3=9Fl > > Date: 11 November 2007 14:14:08 GMT > > To: aquamacs-bugs@aquamacs.org > > Subject: [Aquamacs-bugs] Bugs with German umlauts in file name > > > > Hey! > > > > Aquamacs (or Emacs in general) has problems with dealing with German > > umlauts in file names. The inline file browser (C-x C-f) has problem= s > > in displaying the German umlauts and accepting the umlaut itself ... > > typing e.g. =C3=BC and won't autocomplete the filename ... u a= nd > > does ... > > > > The umlaut problem also leads to LaTeX compile errors when invoking > > with AUCTeX: > > > > --- > > > > Running `LaTeX' on `ru=CC=88ckerstattung-kontaktlinsen_2006' with > > ``pdflatex -interaction=3Dnonstopmode "\input" ru\=CC=88ckerstattun= g- > > kontaktlinsen_2006.tex'' > > This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) > > %&-line parsing enabled. > > entering extended mode > > LaTeX2e <2005/12/01> > > ! I can't find file `ru?ckerstattung-kontaktlinsen_2006.tex'. > > <*> \input ru?ckerstattung-kontaktlinsen_2006.tex > > > > Please type another input file name > > ! Emergency stop. > > <*> \input ru?ckerstattung-kontaktlinsen_2006.tex > > > > ! =3D=3D> Fatal error occurred, no output PDF file produced! > > Transcript written on texput.log. > > > > LaTeX exited abnormally with code 1 at Sun Nov 11 15:06:07 > > > > --- > > > > Emacs is finally in version 22 ... but why can't it still handle > > umlauts in file names?? > > > > Maybe you can fix this. Thank you, > > Markus > > > > > > In GNU Emacs 22.1.50.1 (powerpc-apple-darwin7.9.0, Carbon Version =20 > > 1.6.0) > > of 2007-10-02 on applecore.inf.ed.ac.uk - Aquamacs Distribution 1.2a > > Windowing system distributor `Apple Inc.', version 10.5.0 > > configured using `configure '--without-x' '--prefix=3D/usr/local'' > > > > Important settings: > > value of $LC_ALL: nil > > 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: nil > > locale-coding-system: iso-latin-1 > > default-enable-multibyte-characters: t > > > > Major mode: PDFLaTeX/F > > > > Minor modes in effect: > > reftex-mode: t > > TeX-fold-mode: t > > TeX-PDF-mode: t > > smart-frame-positioning-mode: t > > aquamacs-styles-mode: t > > recentf-mode: t > > emulate-mac-german-keyboard-mode: t > > encoded-kbd-mode: t > > osx-key-mode: t > > show-paren-mode: t > > delete-selection-mode: t > > pc-selection-mode: t > > cua-mode: t > > tooltip-mode: t > > mac-input-method-mode: t > > tool-bar-mode: 0 > > mouse-wheel-mode: t > > menu-bar-mode: t > > file-name-shadow-mode: t > > global-font-lock-mode: t > > font-lock-mode: t > > blink-cursor-mode: t > > unify-8859-on-encoding-mode: t > > utf-translate-cjk-mode: t > > auto-compression-mode: t > > column-number-mode: t > > line-number-mode: t > > transient-mark-mode: t > > > > Recent input: > > > > > > > > A-s > > , 1 1 p t A-s > > > > A-w > > > > > > > > > > > ug> > > > > Recent messages: > > Sending... > > Loading mailclient...done > > Loading browse-url...done > > Sending...done > > Applying style hooks... done > > Sorting environment... > > Removing duplicates... done > > Applying style hooks... done > > Type `C-c C-l' to display results of compilation. > > LaTeX errors in `*~/Documents/TeX/privat/ru=3D512c8ckerstattung- > > kontaktlinsen_2006 output*'. Use C-c ` to display. > _______________________________________________ > Emacs-devel mailing list > Emacs-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-devel --=20 =C2=BFD=C3=B3nde estar=C3=A1 ahora mi sobrino Yoghurtu Ngh=C3=A9, que tuv= o que huir precipitadamente de la aldea por culpo de la escasez de rinocerontes?