1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Using the German Laguage or ANY Foreign Language with Java

  1. Nov 15, 2009 #1
    1. The problem statement, all variables and given/known data
    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.
  2. jcsd
  3. Nov 15, 2009 #2
    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
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook