File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Multi language support in forms. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Multi language support in forms." Watch "Multi language support in forms." New topic
Author

Multi language support in forms.

Manigandan Velraj
Greenhorn

Joined: Nov 30, 2009
Posts: 14
hi,

I have a user input form with many text boxes which will be saved in DB and also shown back. This page is developed using struts 2. Now i want users to enter other language characters like (åäö, ü, ß, ő, ű, ô, ç, ł and š) in the text boxes. I have tried using both UTF-8 and iso-8859-1 in the meta tag's charset. i have also used "multipart/form-data" for the form's enctype attributes.

The problem here the following characters(ő, ű, ł , š) when entered changes to inverted '?'.

When i tried using iso-8859-2 (and removing multipart/form-data) i was able to save (ő, ű, ł , š) these characters. but other characters which worked earlier doesn't work now.

Please let me know if there is any way by which i can use both (iso-8859-1,iso-8859-2) charset in my HTML.

Thanks in advance.
 
 
subject: Multi language support in forms.
 
Threads others viewed
charset and pageEncoding in jsp
Servlet charset problem???
Soap turning non-ascii chars to garbage
UTF-8 problem with MySQL 4.0.17
Display of Latin Characters
developer file tools