HI!
I have the following code:
String strIn = "fran ais";
System.out.print(strIn);
but in consol i get:
fran?ais
how can i have it print the French letter?
Thanks
Hendrik Maryns - 03 Jul 2007 11:02 GMT
odelya schreef:
> HI!
> I have the following code:
[quoted text clipped - 3 lines]
> fran?ais
> how can i have it print the French letter?
Set the console to an encoding which knows ç, and have it use a
corresponding font.
H.
- --
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
odelya - 03 Jul 2007 11:24 GMT
Thanks
How do I do it in Eclipse?
Hendrik Maryns - 03 Jul 2007 17:38 GMT
odelya schreef:
> Thanks
> How do I do it in Eclipse?
In the Run Configuration (Run...) on the Commons tab.
H.
- --
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
Tom Hawtin - 03 Jul 2007 11:57 GMT
> how can i have it print the French letter?
http://www.google.co.uk/search?q=%22french+letter%22
???
Real Gagnon - 03 Jul 2007 14:23 GMT
> I have the following code:
> String strIn = "fran ais";
> System.out.print(strIn);
> but in consol i get:
> fran?ais
> how can i have it print the French letter?
See http://www.rgagnon.com/javadetails/java-0046.html
Bye.

Signature
Real Gagnon from Quebec, Canada
* Java, Javascript, VBScript and PowerBuilder code snippets
* http://www.rgagnon.com/howto.html
* http://www.rgagnon.com/bigindex.html