Reading Foreign Characters

I am trying to read some foreign language files that are sitting own copyfiles.
The text was copied from Google Translate and then pasted into TextEdit with the preference set to Save UTF8. When I read the file in with the below it is full of odd characters. If I change to UTF16 I can see the text properly in debug but it doesn’t display in the textfields properly. What am I mixing up here?

b = "Tips_FR"+x.ToText + ".txt"

f = SpecialFolder.Resource(b)
if f <> nil then
    input = TextInputStream.Open(f)
    input.Encoding = Encodings.UTF8
    aa = input.ReadAll
    aa = aa.right(aa.length-2)
  Catch e As IOException
    errorText = "File IO Error: " + e.Reason
  End Try

If it looks like a duck and walks like a duck it probably is a duck. Half the files were UTF16 inspire of textedit having a default save of utf8 :slight_smile: