Testing generator encoding problem

2004-02-13 Thread zheng jianjun
Hi , When testing cocoon 2.1.3 , I had the following problem . It's OK when read-in the static XML file pages/16.xmlin codepage "gb2312" by generator "file" , but notwork by the testing generator "test", which actually callLinux command "cat /./pages/16.xml" , the html did generatedin IE ,

Re: Testing generator encoding problem

2004-02-13 Thread Stefan Burkard
hi i'm not sure, but i think if your test-generator reads the file with the cat-command, it is not unicode-aware. your redhat-locale is iso8859-1 and i think the unix-commands use this encoding to read and write files. if this is true, your gb2312-characters get corrupted when cat reads in the