all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Aidan Kehoe <kehoea@parhasard.net>
To: David Reitter <david.reitter@gmail.com>
Cc: emacs- devel <emacs-devel@gnu.org>
Subject: Re: Bugs with German umlauts in file name
Date: Sun, 18 Nov 2007 21:08:41 +0100	[thread overview]
Message-ID: <18240.39881.599196.246888@parhasard.net> (raw)
In-Reply-To: <57EEE054-BE4C-4B93-9163-31D138159A54@gmail.com>


 Ar an t-ochtú lá déag de mí na Samhain, scríobh David Reitter: 

 > (repost)
 > 
 > Please see the bug report below.
 > 
 > I can confirm general display problems with umlauts in file names (see  
 > 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 name
encoding, where the canonical form for a precomposed character is the base
character followed by a combining character.

If you do C-u C-x = 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 "ö" in UTF-8 is the representation of U+00F6,
"\xc3\xe6". GNU Emacs handles that fine, which is why you won’t see this
problem on Linux, where as a rule normalisation is not done. U+006F followed
by U+0308 (what you’re seeing: "o\xcc\x88" on disk) is preserved on reading
and writing, which is good, and the OS X libraries automatically normalise
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 Unicode
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  
 > that contains anything but 7-bit ASCII characters?
 > 
 > Emacs also brings up an annoying question about encoding when  
 > automatically saving 'places' at the end of the session.
 > 
 > 
 > 
 > 
 > 
 > 
 > 
 > Begin forwarded message:
 > 
 > > From: Markus Nißl <mnissl@gmx.de>
 > > 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 problems
 > > in displaying the German umlauts and accepting the umlaut itself ...
 > > typing e.g. ü and <tab> won't autocomplete the filename ... u and
 > > <tab> does ...
 > >
 > > The umlaut problem also leads to LaTeX compile errors when invoking
 > > with AUCTeX:
 > >
 > > ---
 > >
 > > Running `LaTeX' on `rückerstattung-kontaktlinsen_2006' with
 > > ``pdflatex  -interaction=nonstopmode "\input" ru\̈ckerstattung-
 > > 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
 > >
 > > !  ==> 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  
 > > 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=/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:
 > > <help-echo> <help-echo> <tool-bar> <latex> <help-echo>
 > > <help-echo> <help-echo> <help-echo> <tool-bar> <view>
 > > <down-mouse-1> <mouse-1> <backspace> <backspace> <backspace>
 > > <backspace> <backspace> <backspace> A-s <help-echo>
 > > <down-mouse-1> <mouse-1> , 1 1 p t A-s <help-echo>
 > > <help-echo> <help-echo> <help-echo> <tool-bar> <latex>
 > > <help-echo> <help-echo> <help-echo> <help-echo> A-w
 > > <menu-bar> <help-menu> <report-emacs-bug> <help-echo>
 > > <help-echo> <help-echo> <menu-bar> <file> <Open Recent>
 > > <ru=512c8ckerstattung-kontaktlinsen_2006.tex> <help-echo>
 > > <help-echo> <help-echo> <help-echo> <tool-bar> <latex>
 > > <help-echo> <menu-bar> <help-menu> <report-emacs-b
 > > 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=512c8ckerstattung-
 > > kontaktlinsen_2006 output*'. Use C-c ` to display.
 > _______________________________________________
 > Emacs-devel mailing list
 > Emacs-devel@gnu.org
 > http://lists.gnu.org/mailman/listinfo/emacs-devel
-- 
¿Dónde estará ahora mi sobrino Yoghurtu Nghé, que tuvo que huir
precipitadamente de la aldea por culpo de la escasez de rinocerontes?

  reply	other threads:[~2007-11-18 20:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9E03E170-4EA2-4409-8996-245A740732C0@gmx.de>
2007-11-14 22:03 ` Bugs with German umlauts in file name David Reitter
2007-11-18 18:15 ` David Reitter
2007-11-18 20:08   ` Aidan Kehoe [this message]
2007-11-18 20:55   ` Jason Rumney
2007-11-18 21:48     ` Aidan Kehoe
2007-11-22 19:13     ` David Reitter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18240.39881.599196.246888@parhasard.net \
    --to=kehoea@parhasard.net \
    --cc=david.reitter@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.