Platforms to show: All Mac Windows Linux Cross-Platform

EncodingToISO8859MBS(s as string) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method String MBS Util Plugin 3.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns a string encoded with ISO 8859-1.
Example
dim s as String

s=EncodingToISO8859MBS("hallo äöü")

MsgBox s

s=DecodingFromISO8859MBS(s)

MsgBox s

s=NativeStringMBS(s)

MsgBox s

The string is converted to Unicode (if it's not allready Unicode) and than encoded to a ISO 8859-1 string which is returned with encoding set to binary.
(other encodings are available, but currently not in the plugin)

May return "" on low memory conditions.
Strings and encoding work only perfectly for RB 4.5 or newer.
Added Linux support in v5.1.

The items on this page are in the following plugins: MBS Util Plugin.


The biggest plugin in space...