Encode, Read, Write, StringBuild

Parent Previous Next

Encode, Read, Write, StringBuild.

This group of library functions supports reading and writing text files and binary files. These library functions also enable working with string-arrays and the conversion of text and blobs based on codepage encoding.


Any codepage values must match the OS specifications. Below is listed a few codepage values often used:


Codepage

Description

1200

Unicode UTF-16 little endian byte order.

1201

Unicode UTF-16 big endian byte order.

1252

ANSI Latin 1 Western European (Windows)

65000

Unicode UTF-7.

65001

Unicode UTF-8.


In case other codepage values are required please do an Internet search for the MSDN documentation of available codepage values.


Also please notice that the library functions for reading and writing text files do not support byte order marks (BOM). In case this is required please use the equivalent binary import/export functions in combination with the encoding functions which allows for detailed customizations of the involved blobs - adding or removing a BOM manually.


Base64 Management.

The library functions @EncodeBytesToString and @EncodeStringToBytes can also perform base64 conversions.