Hi, cocooners!
After updgrading to C2.0a7 I get incorrect encoded pages in the i18n sample.
As I could understand, the problem is in that for file reading a
FileInputReader is used and it reads files as a character stream using the
default ecnoding for the JVM (which is the same as the system defaule
encoding). Or you have to specify an encoding while reading.
I changed inputSource.getReader() into inputSource.getInputStream() and it
worked.
The same problem is in the TraxTransformer. If the XSL stylesheet (in UTF-8)
contains any non-english character then they are messed. I think, that in
some other placed this can cause problems with encodings.
Can anybody check this?
My configuration:
Win 2K
Sun JDK 1.3.0
Tomcat 3.3beta
Cocoon 2.0a7
Also, (this is a little off-topic) another problem is with the Tomcat
4.0b5 - in the same i18n sample some russian characters are incorrectly
encoded and result in other letter or squares. (The same sample in the same
configuration works correctly under Tomcat 3.3b).
Regards,
Konstantin Piroumian.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]