954,536 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Fetching data as Arabic from database??

I am using Java along with hibernate, I stored datas in UTF-8 format for my project, i need to retrieve datas in Arabic, give me some ideas about this conept... i m in hurry... reply me as ap..

prabbhhu
Newbie Poster
2 posts since Mar 2008
Reputation Points: 10
Solved Threads: 0
 

Tell us more. Are you reading the data? What are getting as your data? This can be taken care in Database [Depending on how you are using it] or you can get the data and convert into arabic. Show us how you are doing it if you really want any help.

orko
Junior Poster
164 posts since Apr 2006
Reputation Points: 46
Solved Threads: 11
 
Tell us more. Are you reading the data? What are getting as your data? This can be taken care in Database [Depending on how you are using it] or you can get the data and convert into arabic. Show us how you are doing it if you really want any help.


I want to store data in UTF format, when retreiving the data convert that UTF format into some language say Arabic and Hindi. This is problem . Could you help me in this regard...

prabbhhu
Newbie Poster
2 posts since Mar 2008
Reputation Points: 10
Solved Threads: 0
 

On the first post you said you have already stored your data in database, now you are saying you want to store your data in UTF (which means you didn't store anything anywhere). It appears to me you actually didn't do anything yet. However, you should use InputStreamReader and OutputStreamWriter to read and write data. Hope it helps.

orko
Junior Poster
164 posts since Apr 2006
Reputation Points: 46
Solved Threads: 11
 

and keep in mind that you have to use the right encoding

stultuske
Posting Sensei
3,137 posts since Jan 2007
Reputation Points: 1,114
Solved Threads: 433
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You