943,809 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 911
  • Java RSS
Oct 22nd, 2008
0

Fetching data as Arabic from database??

Expand Post »
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..
Reputation Points: 10
Solved Threads: 0
Newbie Poster
prabbhhu is offline Offline
2 posts
since Mar 2008
Oct 22nd, 2008
0

Re: Fetching data as Arabic from database??

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.
Reputation Points: 46
Solved Threads: 11
Junior Poster
orko is offline Offline
164 posts
since Apr 2006
Oct 23rd, 2008
0

Re: Fetching data as Arabic from database??

Click to Expand / Collapse  Quote originally posted by orko ...
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...
Reputation Points: 10
Solved Threads: 0
Newbie Poster
prabbhhu is offline Offline
2 posts
since Mar 2008
Oct 23rd, 2008
0

Re: Fetching data as Arabic from database??

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.
Reputation Points: 46
Solved Threads: 11
Junior Poster
orko is offline Offline
164 posts
since Apr 2006
Oct 24th, 2008
0

Re: Fetching data as Arabic from database??

and keep in mind that you have to use the right encoding
Reputation Points: 935
Solved Threads: 356
Nearly a Posting Maven
stultuske is online now Online
2,493 posts
since Jan 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: get data from HTML form
Next Thread in Java Forum Timeline: using Map in java





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC