Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

DelphiLazarus_UnicodeUtil

Util functions for encoding / decoding unicode

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

DelphiLazarus_UnicodeUtil

Toolbox for encoding/decoding unicode from/to buffer with different encodings

What it is

Decode/Encode
StringToBytes_Encode() Encoding of string in TBytes - Unicode (UTF16/UTF16BE/UTF8 with BOM)
BytesToString_Decode() Decoding von TBytes in String - Unicode (UTF16/ÚTF16BE/UTF8 with BOM autodetect)

Buffer functions
StringToBuf_UNICODE()
StringToBuf_ANSI()
BytesToBuf()

BufToString_UNICODE()
BufToString_ANSI()
BufToBytes()

TBytes
TBytesMerge()
TBytesAdd()
StringToTBytes()

You found the code useful? Donate!