[Openmcl-devel] Naming convention for character-encodings (UTF) or :utf32 vs. :utf-32

Ralf Stoye stoye at stoye.com
Sat Sep 29 10:27:24 UTC 2007


Hello,

trying to use utf-8 with portable-aserve i got errors about unknown  
character-encodings.
I found out that most encodings are named :utf-xx but the :utf-32be  
and :utf-32le versions are mixed up:
I vote for a consist use of the :utf-xx[xx] version.

level-1/l1-streams.lisp
(defmethod stream-external-format ((s character-stream))
   (make-external-format :character-encoding #+big-endian- 
target :utf32-be #+little-endian-target :utf32-le :line- 
termination :unix))


level-1/l1-unicode.lisp
(define-character-encoding #+big-endian-target :utf-32be #-big-endian- 
target :utf32-le .....

Regards,
Ralf Stoye



More information about the Openmcl-devel mailing list