Hello -

This question is more specific to Tcl than AOLServer, please excuse me.
 I was wondering if Tcl 8.3.4 must be configured and/or compiled in a
special way to order to enable multi-lingual support?

I have been attempting to write a multi-lingual AOLServer application,
but cannot seem to get the characterset conversion functions to work.

For example:

I have a Unicode file containing the word "coeur", where the "oe" is a
ligature character having the Unicode value 0x153.  I can open this
file and retrieve the proper data using "fconfigure $infile -encoding
unicode".

However, if I try to translate this data to iso8859-1 using either
"encoding convertto iso8859-1 $data" or "fconfigure $outfile -encoding
iso8859-1", the "oe" character is converted to an ASCII "?" (0x3f).

I have had similar (albeit worse) problems attempting to convert
Unicode Japanese to Shift-JIS and the like.  I had configured and
installed Tcl with pretty much the default options.  If anybody might
be able to help me with this problem, I'd very much appreciate it.

This behaviour happens when running from tclsh as well as AOLServer, so
I feel confident saying that it's not related to AOLServer.

best regards,
thomas park

__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

Reply via email to