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

Unicode display

Hi everybody.....................
how to read a unicode characters (arabic characters) form ResultSet object which appears after extraction as question marks like this(?????) .................

I want to display the fetched UNICODE word from the database and display it in JTextArea...............

but getting the same output..............[??????]

If anyone knows method to display UNICODE.....plz reply me


Waiting for reply
thaks iin advnce

cool_jatish
Newbie Poster
15 posts since Mar 2010
Reputation Points: 5
Solved Threads: 0
 

The problem isn't the way you're retrieving the data (probably, if it were properly stored) but your displaying it.
Does the console (I assume you're writing to that) support unicode? If it does, does it support the character set you're trying to write?
In either case it's not a Java problem but an operating system setting.

jwenting
duckman
Team Colleague
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
 

so can u tell me How to change the system Font encoding ........

Using Windows Xp................ I got the encoding i.t is Cp1252 and i have to change it to .................UTF8 ;UTF-16 or 32

I don't know how to do so ................. If i had done this thing i may solve my problem

thanks in advance

cool_jatish
Newbie Poster
15 posts since Mar 2010
Reputation Points: 5
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: