Method GetUnicodeString
- Namespace
- VectorDraw.Serialize
- Assembly
- VectorDraw.Serialize.dll
GetUnicodeString(string, ushort)
Returns a copy of input str with characters bigger than characterLimit replaced to Unicode format
public static string GetUnicodeString(string str, ushort characterLimit)
Parameters
strstringString to be converted.
characterLimitushortA limit used to convert only characters with value bigger or equal to limit.Can be in range 0x0100 to 0xDBFF
Returns
- string
A copy of input str with characters bigger than 255 replaced to Unicode format
Remarks
For example a character with value of 928 is replaced with "\U+03A0" 3A0 is the hex value of 928.