To begin with this might no be advanced enough for the advanced forum. as I am new to this forum I am unsure where to draw the line between advanced and beginner... Anyway, here is my problem.
I am using FileReader to read data from an xml-file. However when the data is read the swedish characters (it's a swedish text) å,ä,ö are converted to ,Ã¥ ,Ã¤ ,Ã¶ when using default encoding (which I assume is Unicode in java).
I figured there might be some problem with the encoding so after I had read the file I tried re-coding the text with different encodings, at first UTF-encoding and then Cp1252 as that was the string returned by get.Encoding(), however the problem persists.
Currently I am at loss as to why my brilliant program (irony) isn't working as it should. Do I have to choose an encoding when reading the file or is it so that xml uses a special encoding? ( I have found no encoding declaration at the beginning of the document...)
All help will be greatly appreciated, a nod in the right direction would be more than enough for you to earn my gratitude.