PDA

View Full Version : Internationlization issue - using Laszlo and struts


kmahapatruni
12-03-2005, 02:32 AM
Hi,

We are using lazlo with Struts action classes. I have got a problem with internationalization. I am trying to enter some japanese data from Laszlo form. This request is being sent to the action class and the action class sends the data to the database. The prolem i face is, the parameters are being sent in japanese only. But the data is saved as junk charecters in the database.

I have also set the HTTPServletReuest charecter encoding to UTF-8. Also, my database do support UTF-8 charecterset.

From the lazlo form when the request goes to the action class, it does not encode the URL. Can anyone help me out in how to get this resolved. My web application should tell that the URL must be encoded.

Thank you
Kamala.

rajubitter
12-04-2005, 05:15 AM
Do you use SOLO deployment or a proxied application? How do you send the data to the backend? HTTP POST or GET?

May you could post some sample code? Try do analyze the byte values of the data received within the Struts action.