Answer by Thorbjørn Ravn Andersen for reading file with accented characters...
Both characters are present in ISO-Latin-1 (check my name to see why I've looked into this).If the characters are not read in correctly, the most likely cause is that the text in the file is not saved...
View ArticleAnswer by Matt Ball for reading file with accented characters in Java
ISO-8859-1 covers ß and ø, so the file is probably saved in a different encoding. You should pass in file's encoding to new InputStreamReader().
View ArticleAnswer by WhiteFang34 for reading file with accented characters in Java
Assuming that your file is probably UTF-8 encoded, try this:InputStreamReader ir = new InputStreamReader(inputFile, "UTF-8");
View Articlereading file with accented characters in Java
I came across two special characters which seem not to be covered by the ISO-8859-1 character set i.e. they don't make it through to my program.The German ßand the Norwegian øi'm reading the files as...
View Article
More Pages to Explore .....