Link to home
Start Free TrialLog in
Avatar of mikehalfsheen
mikehalfsheen

asked on

Trouble with character translation

Hi,
I have a form  in a jsp with these two fields

<input type="hidden" name="i_unitcurrency" value='&pound;'>&pound;
<input type="hidden" name="i_unitcurrency" value='&euro;'>&euro;


When I use        String unitCurrencyArray[] = request.getParameterValues("i_unitcurrency");  

to retrieve the values I get  UTF-8 character codes in  unitCurrencyArray[] as opposed to the &pound; &euro; that I want.

How do I prevent the character translation ?
ASKER CERTIFIED SOLUTION
Avatar of TimYates
TimYates
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mikehalfsheen
mikehalfsheen

ASKER

Obviously really I suppose :) Thanks, I don't know what I'd do without you ;)
It's only obvious when you know ;-)

Glad I could help!

Good luck with it!

Tim