M
Mike Lischke
Hi all,
Currently I'm trying to read a text file into strings line-by-line thereby converting it to Unicode using the InputStreamReader class. However it can happen that the file I'm reading contains instructions how to read the following text part with regard to an encoding. So what I need would be a way to switch the current charset of the stream reader, which is not possible.
Does anybody have an idea how to read such files correctly?
Mike
Currently I'm trying to read a text file into strings line-by-line thereby converting it to Unicode using the InputStreamReader class. However it can happen that the file I'm reading contains instructions how to read the following text part with regard to an encoding. So what I need would be a way to switch the current charset of the stream reader, which is not possible.
Does anybody have an idea how to read such files correctly?
Mike