Using the German Laguage or ANY Foreign Language with Java

  • Context: Comp Sci 
  • Thread starter Thread starter Wm_Davies
  • Start date Start date
  • Tags Tags
    German Java Language
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
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.
 
Physics news on Phys.org
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