See Also: Utf8ToOEM, String Functions
Converts a string encoded in the OEM character format to UTF-8.
Use CharTranslate.pkg
(OemToUtf8( {stringValue} ))
Where:
{stringValue} is an OEM encoded string
DataFlex strings are by default encoded as UTF-8. When working with external APIs or when importing data, it is sometimes necessary to convert strings from OEM to UTF-8.
Procedure Test
String sOemString sValue
// move an OEM encoded string to sOemString
Move (OemToUtf8(sOemString)) to sValue
End_Procedure