diacritics - German characters in Java -


i want set german words (with special characters) string var.

string s = "staatsangehörigkeit"; system.out.println(s); 

but in output or in debuger see: staatsangeh?rigkeit.

one way change encoding of project utf-8.

when using eclipse:

  1. right-click on project folder
  2. properties
  3. resource
  4. then change text-file encoding

Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -