dcsimg
Problem when displaying special characters
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Thomas_Mur
Posted On:   Thursday, October 24, 2002 03:14 PM

Hi ! I've just install a Debian, but Java programs cannot display french characters... This program : for (int i=0; i < 1000; i++) { System.out.println(i + " " + (char) i); } display the first 127 characters, and then '?' for number upper to 127 : ... 123 { 124 | 125 } 126 ~ 127 128 ? 129 ? 130 ? 131 ? ... - I don't have this problem under Windows. - Non-Java programs write correct french characters - I have installed the package xfonts-intl-european An   More>>


Hi !

I've just install a Debian, but Java programs cannot display french characters...

This program :


			
for (int i=0; i < 1000; i++) {
System.out.println(i + " " + (char) i);
}


display the first 127 characters, and then '?' for number upper to 127 :


			...
			
123 {
124 |
125 }
126 ~
127
128 ?
129 ?
130 ?
131 ?
...



- I don't have this problem under Windows.


- Non-Java programs write correct french characters


- I have installed the package xfonts-intl-european



Any idea ?

Thomas

   <<Less

Re: Problem when displaying special characters

Posted By:   Stephen_Ostermiller  
Posted On:   Friday, November 1, 2002 07:41 AM

It sounds like Java thinks your default character set is ASCII. You can probably change that in some config files somewhere.
About | Sitemap | Contact