jQuery in Action, 3rd edition
The moose likes Swing / AWT / SWT and the fly likes Arabic Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Arabic Problem" Watch "Arabic Problem" New topic

Arabic Problem

mohd Shalaby

Joined: Nov 17, 2004
Posts: 3
Hi all--
I have a Servlet that write arabic characters.
And I want to fill a JTable (myTable) by these arabic chars.

I reade the servlet as follow:

and i use an array of String to to fill the table, the following code for assign vlues to the array

and i use the array to fill myTable.

But the table (myTable) cant show arabic chars unless the client set his local settings (Regional Settings in Windows) to Arabic.
I need the table be able to show Arabic in any regional settings.

Is that possible - if it is possible I need to know how PLEASE.

thank you.
Joe Ess

Joined: Oct 29, 2001
Posts: 9190

First, let me welcome you to the JavaRanch.
Second, please change your displayed name to conform to our
naming policy. In short, your name must be a first name and last name, separated by a space and not obviously fake.
Third, this problem isn't with I/O, but with your client. I'm going to move it to the Swing forum and see if anyone has any bright ideas.

[How To Ask Questions On JavaRanch]
mohd Shalaby

Joined: Nov 17, 2004
Posts: 3
Thank you for reply - I'll change my name .
I agree. Here's the link: http://aspose.com/file-tools
subject: Arabic Problem
It's not a secret anymore!