Interested in this from a Korean perspective. Any experience with that? Want to create web pages and email in Korean UTF8 UTF7, or KSC (CP949). Haven't worked with any different languages before. Garth
At 09:42 2/09/02 +0900, you wrote: >Tango 2000 doesn't know anything about encodings. > >As far as I can tell it just assumes everything's ISO-8859. (There's nothing >in the manual, so I'm guessing...) > >On the other hand, it doesn't break non-Ascii text; It just handles it as a >bunch of bytes. If you do everything in UTF8, and you never need to convert >it into anything another encoding, you should be OK. > >Previously people on this list have reported doing lots of work with Tango in >UTF8, and not having any problems. > >If I've got this right, the basic 7-bit Ascii characters are the same in >UTF-8 as in ISO-8859, so you can handle those without worrying about >encodings at all. > >But when it comes to multi-byte characters, there's plenty of room for things >to go wrong. At a minimum, string functions like <@LENGTH> will treat the >text as bytes, not characters. >Actually we've managed to live with this kind of thing while working with all >kinds of Asian multi-byte encodings, including the evil Shift_JIS, but it's >not ideal. > > >A while back I kludged together a Tango Class File and a Java bean >to do things like encoding conversions and multi-byte-sensitive string >operations. If this is the kind of thing you need to do, take a look at: > >http://www.edochan.com/tango/MB_String.htm > >There are some custom tag definitions there as well, so if it works you >should be able to do things like: > ><@ASSIGN local$myUTFString '<@MB_CONVERT STR="my text" >FROM_CHARSET="ASCII" TO_CHARSET="UTF8">'> > >I've never used this stuff in a production environment (or anywhere except >the Japanese laptop I wrote it on), so you should consider it best, erm, beta >quality code. But if you think it might be useful, help yourself, and let me >know if you have any problems. (You probably will...) > >Good luck, > > >Ed Edgar > >On Monday 02 September 2002 08:30 pm, you wrote: > > I want to use UTF-8 encoded strings when I'm posting forms. > > > > Is it possible to parse strings to UTF-8 in Tango? > > > > Can't find anything i the manuals, please help. > > > > Thanks, > > > > Hans-Goran Persson > > ________________________________________________________________________ > > TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] > > with unsubscribe witango-talk in the message body >________________________________________________________________________ >TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] > with unsubscribe witango-talk in the message body ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
