瀏覽代碼

isogram: add hint for german umlauts encoding

Frida Tveit 9 年之前
父節點
當前提交
8d38349eb1
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10
    0
      exercises/isogram/HINT.md

+ 10
- 0
exercises/isogram/HINT.md 查看文件

@@ -0,0 +1,10 @@
1
+If you find that `testWorksWithGermanLetters` fails even though you think you've implemented it correctly,
2
+this could be because of the [JVM encoding](https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_61/rzaha/international.htm). 
3
+Try setting the `JAVA_TOOL_OPTIONS` environment variable to `-Dfile.encoding=UTF8` to fix this.
4
+- To set an environment variable on Windows:
5
+    1. Go to Computer -> Properties -> Advanced System Settings
6
+    2. Add a new environment variable
7
+
8
+- [To set an environment variable on a mac](http://blog.lidalia.org.uk/2011/04/setting-default-java-file-encoding-to.html)
9
+
10
+- [To set an environment variable on linux](https://unix.stackexchange.com/questions/151733/where-can-i-set-global-java-options)