That should really be documented somewhere. I believe, however, that the approach itself (having to set an environment variable for the JVM) is really flawed. I do not understand why this is necessary at all, since there are XML headers which set the encoding of every file. And internally, Java uses Unicode anyway. Does someone have a clue why this is such a pain to configure?I have no idea either.
yes, thank you for that hint. but this should not matter, as far as I see it.
may I pose a second (though not Cocoon related question): where
would you put this environment variable setting to, so that it
will be set even after reboot? .bashrc will not be the correct
location, I believe? should I modify the cocoon startup batch?
It depends on how you are starting Tomcat. Typically, you put "export LANG=de" in your System-V startup script (mostly /etc/init.d/tomcat). If you start from the command line, you can put that into .bashrc indeed.
Be aware though that the LANG variable influences all linux programmes with localisation support. Maybe there is a parameter to the JVM as well, which would be better to use.
additionally I have to remark, that I really do not understand all those encoding problems. e.g. the default setting usually is UTF-8 and only makes problems with western europe characters. So the first thing I always do in the XML/XSLT environment is to set the encoding to some iso-8859-1.
and moreover: I do not understand why this iso setting is not the default setting: because it works with all characters english as well as german... so why not use this one as default, would be less confusing for all, no?
Alex
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]