Note that WinCpTranslateChar cannot be used for DBCS characters since the data type of Source is UCHAR (one byte).