Get system encoding

Hi, does anybody know how to get the system default encoding in Xojo on Mac / Windows?
Thanks

Jan,
If I have understood your question correctly - the default encoding used by Xojo is UTF8.

However, be aware that if you load text from an external source into Xojo, it may have a different encoding - therefore you should always define / convert the encodings yourself, just to ensure it is what you expect.

Define Encoding Link
Convert Encoding Link
Encodings Link