2.2.10 Unicode Versus ANSI String Representations

The EventLog Remoting Protocol supports both Unicode and ANSI strings. In this specification, ANSI strings refer to multi-byte strings in which the encoding is controlled by the current system code page.

The server MUST support conversions between character sets. For example, one client might write events using ANSI (multi-byte) strings, and another client might read those same records as Unicode.<8> For how clients choose a character set, see section 3.1.4. The way in which a Unicode string is converted to or from an ANSI string is implementation specific. In the occasional case in which the server cannot convert from Unicode to ANSI, the operation MUST fail.