You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Andreas Gaufer <An...@blue-cell-networks.com> on 2004/07/25 16:00:00 UTC
Strings from intake.xml encoding problem
Hi,
I have problems receiving Strings that have there orgin in the
intake.xml in the right encoding.
Special Characters (german Umlauts f.e.) dont reach the client right.
This happens for example on mask or requird messages that are aquired
with $intakegroup.<fieldname>.Message .
Encoding of the intake.xml is set to Latin1 (ISO-8859-1) and also the
Context-Type header of the generated page is in that Encoding.
As sugested in some posts i changed
services.VelocityService.input.encoding
locale.default.charset
in TR.properties witch didn't help (as i actualy expected).
Any pointers or tips would be aprreciated.
Greetings & TIA
Andreas Gaufer
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: Strings from intake.xml encoding problem
Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
Andreas Gaufer <An...@blue-cell-networks.com> writes:
>Encoding of the intake.xml is set to Latin1 (ISO-8859-1) and also the
>Context-Type header of the generated page is in that Encoding.
That's no problem. It just tells the XML parser, that the file is in
ISO-8859 (it must be in ISO-8859, though. ;-) ). Internally, the
Umlauts are UTF-8.
Try a test case where you parse your group and output your messages on
the console (caveat: If you are using Linux, make sure that your
xterm/kterm/gnome-terminal really uses UTF-8 encoding. One of the fun
things is having your LANG environment set to en_US.UTF-8 or
de_DE.UTF-8 and your terminal to ISO-8859-1. I had the case where
everything was running fine but the console output was simply
corrupted (and all the debug messages...) because of this.
Regards
Henning
>As sugested in some posts i changed
>services.VelocityService.input.encoding
>locale.default.charset
>in TR.properties witch didn't help (as i actualy expected).
>Any pointers or tips would be aprreciated.
>Greetings & TIA
>Andreas Gaufer
>---------------------------------------------------------------------
>To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: turbine-user-help@jakarta.apache.org
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH
hps@intermeta.de +49 9131 50 654 0 http://www.intermeta.de/
RedHat Certified Engineer -- Jakarta Turbine Development -- hero for hire
Linux, Java, perl, Solaris -- Consulting, Training, Development
"Fighting for one's political stand is an honorable action, but re-
fusing to acknowledge that there might be weaknesses in one's
position - in order to identify them so that they can be remedied -
is a large enough problem with the Open Source movement that it
deserves to be on this list of the top five problems."
-- Michelle Levesque, "Fundamental Issues with
Open Source Software Development"
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org