GetTextOutputEncoding

Returns the currently selected encoding for the Printer Driver’s Text Output.

Unicode text output files will start with a byte-order mark.

 

GetTextOutputEncoding(pDevMode As Long) As Long

 

Input value   - handle to the BlackIceDEVMODE structure

Return value            - One of the following values:

0:         Default ANSI codepage (default)

1:         Unicode, UTF-8

2:         Unicode, UTF-16 Little Endian

3:         Unicode, UTF-16 Big Endian

 

NOTE: For 32-bit applications, use pDevMode as Integer, instead of Long.