Link to home
Start Free TrialLog in
Avatar of neta
neta

asked on

Pass an Hewbrew parameters via post to JSP

When i try to pass parameters using METHOD POST
to new jsp file

the new jsp file
show the value of the Hebrew param as ?

How can i reacive the correct Hebrew param

i using the get the Request.getParam("myparam")

Regards
Neta
Avatar of thanassis
thanassis

You must install Hebrew fonts in the machine that runs your server
Hi

The best solution to work is to work with UTF-8 encoding
from the jsp page to the database or whatever
Do not beginning to play with different hebrew encoding cp1255 or ISO it's more difficult and don't give nothing.

Bye
ASKER CERTIFIED SOLUTION
Avatar of kennethxu
kennethxu

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
if you must use other encoding, replace "UTF-8" with the encoding you want to use in my previous comment. let me know if you have futher enquires.
richiegr is right, use UTF-8 encoding in your JSP and it should work.

CJ
>> richiegr is right, use UTF-8 encoding in your JSP and it should work.
cannot 100% agree, sometime you have not choice when your datebase is already setup for encoding other then utf-8. utf-8 is the easiest to work with, but doesn't mean it is the only choice.
No, but it is the probably the best when dealing with internationalization and other character sets.

CJ
if you have freedom to select an encoding, I agree that utf-8 should be the first candidate to consider. but when environment doesn't allow, say existing database and exsiting encoded files/pages. Other encodings are just working fine. At least, I have been working with varies encoding all the time.
Avatar of neta

ASKER

Thank you all
richiegr my jsp does not suport the UTF-8
so i choosed kennethxu  answer as the right one

Best to all
Neta
pleasure to help and good luck!