L le_toubib Active Member Licensed User Longtime User Nov 1, 2018 #1 Hi, I have to read a map on a file created by another software. Simple key value store. File.readmap works fine unless there s arabic letters where it shows jiberish characters... How do I read them normally? Should I convert the text file to a specific encoding ? Which?
Hi, I have to read a map on a file created by another software. Simple key value store. File.readmap works fine unless there s arabic letters where it shows jiberish characters... How do I read them normally? Should I convert the text file to a specific encoding ? Which?
DonManfred Expert Licensed User Longtime User Nov 1, 2018 #2 le_toubib said: Should I convert the text file to a specific encoding ? Which? Click to expand... utf8 Upvote 0
le_toubib said: Should I convert the text file to a specific encoding ? Which? Click to expand... utf8
L le_toubib Active Member Licensed User Longtime User Nov 1, 2018 #3 DonManfred said: utf8 Click to expand... I did.. But no Upvote 0
K keirS Well-Known Member Licensed User Longtime User Nov 1, 2018 #4 It should be encoded as ISO-8859-1 AKA Latin1 as that is what the Java .properties files use. Unless you are using Java 9 or later in which case it's UTF8. Upvote 0
It should be encoded as ISO-8859-1 AKA Latin1 as that is what the Java .properties files use. Unless you are using Java 9 or later in which case it's UTF8.