I need to read a dictionary from a txt file in "C:/..."
I use NWjs.ReadFile() and I think this function add some special character that make Dic can't load the Json.
The Dic is empty, is there any way to know the error?
If someone know any other way to do it, please tell me.
Thanks you.
Example:
.capx
https://drive.google.com/open?id=0B9sGs ... UxCSGFKMXc
.txt (dictionary)
https://drive.google.com/open?id=0B9sGs ... jVQb3dnVGs
NOTE: copy it in c:/ or change the path in "FOLDER_MOD" variable.
you have a ghost character, at the beginning of json string .
you need to save .txt file wih ANSI encoding...
Develop games in your browser. Powerful, performant & highly capable.
Thank you. It work.
How you detect it? In notepad++ I don't see it.
I need to use latin languages in this .txt (áàü...), I save the .txt with encoding "UTF8 without BOM", I hope all work. Thanks again.