Using the German Laguage or ANY Foreign Language with Java

1 reply · 2K views · last reply
Wm_Davies
Messages
51
Reaction score
0

Homework Statement


First of all this isn't for homework. I am trying to create a Java program that will test me on the German language for my German class; however, I do not know how to get the umlauts, accents, and other special characters to show up. Do I need to import a language handler, use a special key board, or something else? I am sure it is possible to do this in Java I just haven't been able to find out how anywhere.
 
Never mind I finally found out that unicode will take care of it for me.

System.out.println("die Stra\u00DFe"); = die Stra[tex]\ss[/tex]e