Can anyone explain to me why the encoding goes wrong? I've been trying to find an answer and most point to the encoding used by the program that is used to read the output. I'm sure that its not the encoding for the TextEdit (its the program that is opening the text file). Can anyone shed some light on this for me?
Update: When I select all and copy paste to a new text file, TextEdit tells me to re-save the file in utf-8 encoding. Although this doesn't solve the problem it is a workaround; although now it seems the the default encoding isn't utf-8 for TextEdit even though I have already set utf-8 to be the default encoding.