Here is a more consice example illustrating the problem: (in tclsh) % set data "\u0153" # this is unicode "oe" ligature % set f [ open ./outfile w ] % fconfigure $f -encoding iso8859-1 % puts -nonewline $f $data % close $f
(then back in the shell) $ od -x ./outfile 0000000 003f 0000001 The 'od' above shows that Tcl is indeed writing a plain, ASCII question mark. Please note that the correct iso8859-1 value for the "oe" ligature is "0x153". thank you, thomas park --- atf <[EMAIL PROTECTED]> wrote: > 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. > ... > > 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. __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com
