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='£'>£
<input type="hidden" name="i_unitcurrency" value='€'>€
When I use String unitCurrencyArray[] = request.getParameterValues ("i_unitcu rrency");
to retrieve the values I get UTF-8 character codes in unitCurrencyArray[] as opposed to the £ € that I want.
How do I prevent the character translation ?
I have a form in a jsp with these two fields
<input type="hidden" name="i_unitcurrency" value='£'>£
<input type="hidden" name="i_unitcurrency" value='€'>€
When I use String unitCurrencyArray[] = request.getParameterValues
to retrieve the values I get UTF-8 character codes in unitCurrencyArray[] as opposed to the £ € that I want.
How do I prevent the character translation ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It's only obvious when you know ;-)
Glad I could help!
Good luck with it!
Tim
Glad I could help!
Good luck with it!
Tim
ASKER