Missing example in TextOutputStream.Encodings

It is not a hard task to add this to the description in the TextOutputStream.Encodings section:

output_TOS.Encoding = Encodings.UTF8

I had a blank and do not remember how to write the above line. I have to search in TextInputStream similar entry to get the tip.

It helps others if you paste the link to the documentation that you see the error.

I can’t find it as the example in:
https://documentation.xojo.com/api/files/textoutputstream.html#textoutputstream-encoding

shows

t.Encoding = Encodings.UTF8

that is exactly what you wrote.

1 Like

You are correct, even the built-in documentation (that I use most of the time) have it.

BUT: it Opens showing (starting wiith) Methods. What I searched was some lines above.

That said, I probably have a visual problem for not finding it.