Hello John,

what database are you using to store the data?

Maybe the problem is in the encoding used by the database.

I experienced something like this using Oracle.

Hope this help
----------------------------------------------------------------------
------
Edgar Gonz�lez Gonz�lez
VALHALLA Project, s.a.
Chief Technology Officer
Web: www.valhallaproject.com
E-mail: [EMAIL PROTECTED] / [EMAIL PROTECTED]
Phone: +58-212-242.4379 / 6662 / 4055 / 6475
Fax: +58-212-242.6809 
"The limits of my language mean the limits of my world."
Ludwig Wittgenstein 
----------------------------------------------------------------------
------ 


John Lowenthal <[EMAIL PROTECTED]> wrote:
(05/11/2004 12:37)

>Hello,
>       I am working on a product that uses Turbine and Velocity.  We are an
>ASP with various international customers who require our output be in UTF-8.
>This is simple enough, I just set it in my TurbineResources.properties file
>with the following line:
>
>locale.default.charset=UTF-8
>
>Displaying all characters works fine. The problem arises, however, when
>accepting input from the users. For normal alpha-numeric characters,
>everything works fine, but when the user wants to put in a special character
>such as a British Pound sign(�) or accented e(�), incorrect data is being
>stored. When the string gets to the action class, the characters are
>represented as two new characters in the java String, which are then being
>stored as such in our database. When looking at the ParameterParser pulled
>from the RunData, I can see that the character encoding is set to
>"US-ASCII", where as data.getCharacterEncoding() returns "UTF-8" as it
>should.
>
>How can I fix this such that the UTF-8 input is properly interpreted?
>
>Thanks,
>
>-John
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to