Lisp HUG Maillist Archive

Making LW programs Unicode aware (socket I/O)

Hello,

In "Making your programs Unicode aware" (Bruno Haible, 23 January 
2001), in the Lisp section about LW:

LispWorks supports Unicode...
Limitations: Encodings cannot be used for socket I/O...

See ftp://ftp.ilog.fr/pub/Users/haible/utf8/Unicode-HOWTO-6.html


Does someone know if LW socket I/O will support more element-types in the near future?

Francis


Re: Making LW programs Unicode aware (socket I/O)

On Aug 1, 2007, at 1:47 AM, Francis Leboutte wrote:

>
>
> In "Making your programs Unicode aware" (Bruno Haible, 23 January  
> 2001), in the Lisp section about LW:
>
> LispWorks supports Unicode...
> Limitations: Encodings cannot be used for socket I/O...
>

With some effort, you can at least work with UTF-8 via socket  
streams. Here are some threads to get you started:

http://thread.gmane.org/gmane.lisp.lispworks.general/2700/focus=2701

http://thread.gmane.org/gmane.lisp.lispworks.general/3481/focus=3486





John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


Re: Making LW programs Unicode aware (socket I/O)

Thank you John for the hint.

Actually I have used translate-string-via-fli to 
work with UTF-8 using CLSQL and PostgreSQL. BTW I 
also have tested cxml:rod-to-utf8-string and 
cxml:utf8-string-to-rod which works too but is a 
bit slower (I didn't try to optimize these 2 functions).

But for another part of my application this kind 
of solution is not practicable. I need LW socket I/O to be extended, hence my question.

Francis


  Le 2/08/2007 02:33, John DeSoi écrivait :

>On Aug 1, 2007, at 1:47 AM, Francis Leboutte wrote:
>
>>
>>
>>In "Making your programs Unicode aware" (Bruno Haible, 23 January
>>2001), in the Lisp section about LW:
>>
>>LispWorks supports Unicode...
>>Limitations: Encodings cannot be used for socket I/O...
>
>With some effort, you can at least work with UTF-8 via socket
>streams. Here are some threads to get you started:
>
>http://thread.gmane.org/gmane.lisp.lispworks.general/2700/focus=2701
>
>http://thread.gmane.org/gmane.lisp.lispworks.general/3481/focus=3486
>
>
>
>John DeSoi, Ph.D.
>http://pgedit.com/
>Power Tools for PostgreSQL


Updated at: 2020-12-10 08:45 UTC