Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Character encoding problems #7

Closed
GoogleCodeExporter opened this issue Apr 3, 2016 · 3 comments
Closed

Character encoding problems #7

GoogleCodeExporter opened this issue Apr 3, 2016 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
System.out.println(
  Translate.translate("size", Language.ENGLISH, Language.GERMAN)
); 

What is the expected output? What do you see instead?
Expected: Größe
Got: Größe

What version of the product are you using? On what operating system?
Windows XP, German. Important system properties (System.getProperties()):
java.vm.version=1.6.0_01-b06 
user.country=CH 
file.encoding=Cp1252 
user.language=de

Original issue reported on code.google.com by thomas.t...@gmail.com on 27 Nov 2007 at 2:03

@GoogleCodeExporter
Copy link
Author

The following solves the problem for me:
new InputStreamReader(inputStream, "UTF-8") 
instead of 
new InputStreamReader(inputStream)

Original comment by thomas.t...@gmail.com on 27 Nov 2007 at 2:38

@GoogleCodeExporter
Copy link
Author

Sorry, I saw it's already fixed in the latest source code ;-)

Original comment by thomas.t...@gmail.com on 27 Nov 2007 at 2:40

@GoogleCodeExporter
Copy link
Author

No problem. 0.24 should contain this fix.

Original comment by rich.mid...@gmail.com on 1 Dec 2007 at 11:35

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant