Java Plugin and Arabic

hi all ,

i have Oracle 10g application , which is run through Applet , iam running it using Java Plugin version 5 patch 10 instead of Jinitiator , but iam facing problem on displaying the arabic propmpt only if a 2 characters came after each other , is this familiar !!! thanks in advance

[302 byte] By [M.jabera] at [2007-11-26 13:27:17]
# 1
A guess is that your program is producing individual bytes, not Java's 2-byte chars. When 2 bytes get together, a char results and you see it?
ChuckBinga at 2007-7-7 20:28:11 > top of Java-index,Desktop,Runtime Environment...
# 2
Thanks for your reply , but do you have any way to fix that , or to make sure that this is the reason
M.jabera at 2007-7-7 20:28:11 > top of Java-index,Desktop,Runtime Environment...
# 3

Try printing some of the data, formatted as hex strings. That may allow you to identify what is happening. It probably involves incorrect encoding to/from the DB. Remember that Java use Unicode; if the DB doesn't, you have to handle the change.

Read this tutorial:

http://java.sun.com/docs/books/tutorial/i18n/index.html

There are many forum threads that discuss character encoding for different languages, search for them.

Before much more can be done you need to identify the problem.

ChuckBinga at 2007-7-7 20:28:11 > top of Java-index,Desktop,Runtime Environment...