9.2.
Convert Unicode Text into Hex Code

PDFUnit can handle Unicode. The section
11: “Unicode”
deals with this topic in detail.

The following sections describe a utility program that converts a Unicode string
into its hex code.
The hex code can be used in many of your tests. If you are using a small
number of Unicode characters it is easier to use hex code
than to install a new font on your computer.

The utility ConvertUnicodeToHex
converts any string into ASCII and escapes all non-ASCII characters
into their corresponding Unicode hex code. For example, the Euro character
is converted into \u20AC.

The input file can be of any encoding, but you have to define the
right encoding before executing the program.