• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Encoding Displaying issues  RSS feed

 
Chintan B Shah
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,

I am invoking a jar from Linux command prompt with following parameters:

./Client.jar "1" "http://abc.com" "Equinix vous informe d.un nouvel incident réseau à SV. Merci de vérifier vos courriels ou notre portail client pour de plus amples informations."

Now, when I print args[2], it shows this
Equinix vous informe d.un nouvel incident r�seau � SV. Merci de v�rifier vos courriels ou notre portail client pour de plus amples informations.

These are latin(French) characters.

How can I make them display exactly the same way they are passed?

P.S.: I posted detailed msg here..
Java Charset UTF-8, ISO-8859-1 Encoding issue
..but then I figured that it could be more of Java-in general question and not web-services related...so I tried to trim down issue in this thread.


Appreciate any assistance.

Thanks
Chintan.

 
Chintan B Shah
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,

Problem was with the encoding of my terminal client(Putty).

Just for your info, encoding can be changed under "Change Settings-->Windows-->Translation" in Putty.

My co-worker pointed it out .

Thanks
Chintan.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!