Ver código fonte

Merge pull request #630 from FridaTveit/IsogramGermanUmlautsEncoding

isogram: add hint for german umlauts encoding
Stuart Kent 9 anos atrás
pai
commit
45f6771511
1 arquivos alterados com 10 adições e 0 exclusões
  1. 10
    0
      exercises/isogram/HINT.md

+ 10
- 0
exercises/isogram/HINT.md Ver arquivo

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)