Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Hindi text over socket

923917May 24 2012 — edited May 24 2012
I have developed an application in netbeans. The main purpose is to send chat meassages which are either in hindi, english or special characters over socket.
The problem is that whenever I run the application through netbeans it works fine but if I try to run the jar without running netbeans then english text is shown properly on client side but hindi text is shown as ???????? (question marks).

1. I am using print() of PrintStream for sending and read(bytes [] b) of DataInputStream to receive message
2. There are two applications client and server.
3. All clients connect to server then clients communicate with each other by sending messages to server and server then forwards those messages to appropriate client.

please help me....

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 21 2012
Added on May 24 2012
3 comments
2,205 views