Ar an ceathrú lá de mí Eanair, scríobh Stephen J. Turnbull:
Aidan Kehoe writes:
> > I couldn't figure out how to convert the string with macros of 21.4 yet
> > --- maybe one of the 21.4 developers could give me some advice?
>
> UTF-8 is not available as a coding system by default on 21.4. One
> awkward way to work around that would be to check for non-ASCII in the
> strings, and only do the translation if a) there are non-ASCII
> characters and b) Ffind_coding_system (intern ("utf-8")) gives
> non-nil.
Does this actually work correctly? That is, HFS+ will use a NK?FD
string for the file name. I think the file system code will normalize
if you pass it any valid UTF-8 string (this needs to be checked),
It does.
but XEmacs will not be able to round-trip. We should check that that
will
not cause problems.
It will cause problems; it’s Mule-UCS, its mapping is incomplete. See every
third message Uwe Brauer has been sending to -beta.
On reflection, though, the 21.4 init code is not sensible in this respect,
and file-name-coding-system will not normally be anything other than binary.
It, or the file-name coding system alias, should be used, not utf-8.
--
¿Dónde estará ahora mi sobrino Yoghurtu Nghé, que tuvo que huir
precipitadamente de la aldea por culpa de la escasez de rinocerontes?
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches