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

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

Link to this section Summary

Functions

Converts a UTF-8 string into UCS-2

Converts a UCS-2 string into UTF-8

Link to this section Functions

Specs

from_string(binary() | list()) :: binary()

Converts a UTF-8 string into UCS-2

Specs

to_string(binary()) :: binary()

Converts a UCS-2 string into UTF-8