• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

i18N defect in Russian Language

 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am working on internationalization. its working fine for all language except russian language.
Java code as follows,

properties file as follows, during preview russian lang not appeard correctly


output



Regards,
Sriram.V
 
Sheriff
Posts: 28395
100
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You have an encoding problem. However rather than go through the tedious and basically useless procedure of trying to get Java to use the right encoding for your command line, why not just use a GUI to do that kind of test? You aren't writing a command-line application (right?) so don't use a command-line application to do your testing. It isn't worth the trouble.
 
sri ramvaithiyanathan
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your quick response.
can you please tell me, how to resolve the encoding problem other than GUI method.

Regards,
Sriram.V
 
Paul Clapham
Sheriff
Posts: 28395
100
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What for? You aren't going to display this data on the console in real life, are you?
 
sri ramvaithiyanathan
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
let me clearly explain my question.

1) I want to get value from resource bundle
2) Want to display the resource bundle value in jsp page.

the value i got from console is same as the value I got from resultant jsp page.
 
Sheriff
Posts: 3837
66
Netbeans IDE Oracle Firefox Browser
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Paul Clapham wrote:What for? You aren't going to display this data on the console in real life, are you?


Besides, it might not be feasible. Windows console has a limited character set that can be changed only via the Regional Settings Control Panel and is the same for all consoles in the system. As far as I know, displaying cyrillic alongside latin characters in Windows console is not possible.
 
Sheriff
Posts: 22849
132
Eclipse IDE Spring Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Martin is right. The Windows console is very limited in what it can display; even more common characters like é are not supported.

As for the encoding problem, this thread may be an interesting read for you.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic