Migration Guide

Converting Strings to Unicode

If you are writing a new or migrating a previous application, use the following classes to ensure that the string is in Unicode format:

Use the following methods with the above Unicode classes:

bindWith
Replaces strings within the Unicode string. If the arguments are Strings, the Strings are converted to Unicode before being bound into the Unicode string.

bindWith: with:
Replaces strings within the Unicode string. If the arguments are Strings, the Strings are converted to Unicode before being bound into the Unicode string.

ulcAsLocalString
Converts the Unicode string to a String in the local codepage

ulcAsUnicodeString
Tests if the string is a Unicode string. If the string is not a Unicode string, converts the string to a Unicode string.

To convert Strings and DBStrings to Unicode, use the #ulcAsUnicodeString method.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]