REALGetTextData, best encoding?

Hello,

what is best encoding for REALGetTextData?
Or what is encoding mostly used in Xojo.
I’d like to avoid conversion as much as possible.

Greetings
Christian

The idea is that you should pick whatever encoding you need for your plugin’s purpose. For example, if you’re going to pass the data off to a Windows API, just ask for UTF-16.

what is internal representation usually?