3.1.5.4 Code Page for Strings

In a ROP request, the code page for strings MUST match the code page associated with the affected Server object. The code page for a Server object is determined as follows:

  • If the Server object is owned by a message, then the Server object uses the same code page that the message uses. The message's properties and the Server objects owned by the message use the same code page that the message uses.

  • If the Server object is not owned by a message, then the Server object uses the code page specified in the EcDoConnectEx method or a similar RPC method, or the Connect request type<17>. For more details about the EcDoConnectEx method and RPC, see [MS-OXCRPC] section 3.1.4.1. For more details about the Connect request type, see [MS-OXCMAPIHTTP] section 2.2.4.1.