ss7thirty
Well-known member
What type of encoding do I have to use to preserve the following characters:
ç , É
And the u with dots above it. I have tried a few different ways of going about this but none of the different encodings that I try preserve these letters. Some just truncate them and others replace them with a question mark.
What I am doing is reading from a text file using a streamreader and then outputting using a few different streamwriter object, essentially splitting up the first large text file. Upon doing this a few characters are being cut off or changed depending on the encoding that I use. How should I go about constructing the streamwriter and reader objects specifying the encoding. What is the best way to do this?
ç , É
And the u with dots above it. I have tried a few different ways of going about this but none of the different encodings that I try preserve these letters. Some just truncate them and others replace them with a question mark.
What I am doing is reading from a text file using a streamreader and then outputting using a few different streamwriter object, essentially splitting up the first large text file. Upon doing this a few characters are being cut off or changed depending on the encoding that I use. How should I go about constructing the streamwriter and reader objects specifying the encoding. What is the best way to do this?