View Source Tds.Encoding.UCS2 (Tds v2.3.5)

Converting UTF-8 strings into UCS-2 (UTF16 Little Endian) strings used by the MSSQL Database

Summary

Functions

Converts a UTF-8 string into UCS-2

Converts a UCS-2 string into UTF-8

Functions

@spec from_string(binary() | list()) :: binary()

Converts a UTF-8 string into UCS-2

@spec to_string(binary()) :: binary()

Converts a UCS-2 string into UTF-8