Platforms to show: All Mac Windows Linux Cross-Platform
SetEncodingOfStringMBS(s as string, encoding as UInt32)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
global method | XojoRuntime | MBS Util Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Only useful on Xojo 4.5 and newer.
Some example values for encoding:
MacRoman | 0 | Also for ASCII or binary data used. |
WindowsLatin1 | &h0500 | ANSI codepage 1252 |
ISOLatin1 | &h0201 | ISO 8859-1 |
NextStepLatin | &h0B01 | NextStep encoding |
Unicode | &h0100 | 16 bit Unicode |
UTF8 | &h08000100 | 8 bit Unicode |
Invalid | &hFFFFFFFF | (Binary) |
Invalid | &hFFFF | (Binary) |
Renamed from SetStringEncoding to SetEncodingOfString in MBS Plugin 3.1.
Some examples using this global method:
Xojo Developer Magazine
The items on this page are in the following plugins: MBS Util Plugin.