[Bese-devel] Patch: CLISP string encoding

JoeSB COE9 joesb.coe9 at gmail.com
Wed Dec 21 07:04:54 UTC 2005


Hi,

This is patch to make Arnesi_dev compile over CLISP 2.36 on Windows.
It fixed two things
- CHARSET:UTF-16 encoding is only available where there is GNU libc or
libiconv, may be it is nolonger supported on Win32. Use CHARSET:UCS-2
instead, works for most character.
- ext:convert-bytes-to-string name is changed to ext:convert-string-from-bytes

---------------------------------------------
{
hunk ./src/string.lisp 136
-      (:utf-16 charset:utf-16)
+      #-win32(:utf-16 charset:utf-16)
hunk ./src/string.lisp 143
-    (ext:convert-bytes-to-string octets (encoding-keyword-to-native encoding)))
)
+    (ext:convert-string-from-bytes octets (encoding-keyword-to-native encoding)
)))
}
----------------------------------------------

Pisin Bootvong,


More information about the bese-devel mailing list