Hi! Probably, you are using a wrong editor to edit your dictionary files and it somehow mangles the encoding. I usually use XML Spy to edit this kind of exotic languages and I've successfully edited the Chinese, Japanese and Korean translations (they are in C2.1 only).
Regards, Konstantin ----- Original Message ----- From: "Kirchhoff, Lars" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 26, 2002 12:06 Subject: i18n translator and thai support > Hi, > > I played around with the i18n translator and it worked perfectly for german > and english translation. But now I tried to create a dictonary for thai > language and it's not working. I always get the english dictonary. I figured > out that, if the dictonary file [for instances messages_th.xml] is wrong or > has wrong statements in it, the other dictonaries are tried. > After this I simply tried to put some thai characters in the xsp code and > got the following error: > > ============ error =================================== > The org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode notifies > that org.apache.cocoon.ProcessingException says: > > Invalid byte 2 of 2-byte UTF-8 sequence. > > More precisely: > > org.apache.cocoon.ProcessingException: Invalid byte 2 of 2-byte UTF-8 > sequence.: java.io.UTFDataFormatException: Invalid byte 2 of 2-byte UTF-8 > sequence. > ============ /error =================================== > > can anyone give me a suggestions what I can do? The funny thing is that the > date-time function of i18n transformer is working and shows the date in thai > fonts. > > Thanks in advance > > best regards > Lars Kirchhoff > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>