Selaa lähdekoodia

Merge pull request #630 from FridaTveit/IsogramGermanUmlautsEncoding

isogram: add hint for german umlauts encoding
Stuart Kent 9 vuotta sitten
vanhempi
commit
45f6771511
1 muutettua tiedostoa jossa 10 lisäystä ja 0 poistoa
  1. 10
    0
      exercises/isogram/HINT.md

+ 10
- 0
exercises/isogram/HINT.md Näytä tiedosto

@@ -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)