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

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.

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.