Good day all,
I am using postgresql 8.1 with UTF-8 database, with tables that have texts in hebrew and other non-latin languages.
I wrote an HBM file that maps a POJO to one of the classes (I'm using hibernate 3.0 with J2SE 5.0)
The POJO has fields of "username" and "password"
I would like to obtain a "username" from a record that is stored at the table. I succeeded to obtain a username that was written in english.
How do I obtain a username that is written in non-latin language and save it to a local file on my harddisk?
How can i convert such a username to an array of bytes?
Thanks
Avi Nir
|