I am working on a japanese struts project. Here i have a text box which accepts mail Id from user. At present if the user enters double byte character mail Id, then my action form throws validation error. I need help to convert these double byte characters to single byte characters and save it into database.
Please help me with some tips or code samples.
Thanks in Advance..
Thanks for your reply..
yeah its unicode.
my double byte emailId is �����������������������D�������D�����D���� ,
can you please help me by giving tips, sample codes for converting the double byte mail ID into java acceptable unicode format.