[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Unicode Lisp reader escapes

From: Aidan Kehoe
Subject: Re: [PATCH] Unicode Lisp reader escapes
Date: Sun, 30 Apr 2006 10:26:43 +0200

 Ar an naoú lá is fiche de mí Aibréan, scríobh Stefan Monnier: 

 > There are two known workarounds:
 > - encode your file in utf-8.
 > - use an elisp expression like (decode-char 'ucs <foo>).
 > Neither of them is quite what you want, but I've found them good enough for
 > the cases I've had to deal with.

Sure, and encoding your file as ISO-8859-1 and using (char-to-int #xff)
would be possible were the escapes for Latin-1 not available. I will
certainly be using both your approaches for years to come, since making my
code pointlessly incompatible with existing editors is not a good idea. The
\u syntax is sugar, but it is used quite a bit in those languages that have
it, which seems to testify to its usefulness.

In the beginning God created the heavens and the earth. And God was a
bug-eyed, hexagonal smurf with a head of electrified hair; and God said:
“Si, mi chiamano Mimi...”

reply via email to

[Prev in Thread] Current Thread [Next in Thread]