Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8961821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T15:58:51+00:00 2026-06-15T15:58:51+00:00

In my Swing chat application i am having the send button, one text area,

  • 0

In my Swing chat application i am having the send button, one text area, and a text field.

If I press Send button, I need to send the text from text field to text area. It is working fine in English but not in local language.

Please give some idea or some code that will help me to solve this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T15:58:52+00:00Added an answer on June 15, 2026 at 3:58 pm

    First of all, the internal character representation of String is UTF-16, so you don’t need to worry once you have the string in your JVM.

    The problem is probably the conversion between a sequence of characters that gets sent over the internet and a String object. When parsing a string you need to provide the encoding, e.g. when using InputStreamReader, you have to pass the Charset parameter:

    InputStreamReader(InputStream in, Charset cs)
    Create an InputStreamReader that uses the given charset.

    The encoding has to be provided, because Java can’t magically guess the encoding of a byte sequence.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my Swing chat application I have a logout button which is used to
My Swing application prints lines of text to a JTextPane inside of a JScrollPane
I have a thread running in my Swing chat application to listen indefinitely through
Not really that familiar with Swing, and am writing a client-server UDP chat application.
I'm working on the client side application of the client/server chat I'm doing for
I am working on a mini-project which consists of doing a client-server chat application.
My Swing Java application works fine on Mac OS X, but its title in
I've been working on creating a chat client(java swing) and I've just made my
Using Swing in Java I wrote a form containing radio buttons, text fields and
What's the Java Swing counterpart for the JavaScript alert() popup (if there is one)?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.