How to read/write Chinese/Japanese characters from/to INI files?

前端 未结 4 1678
陌清茗
陌清茗 2020-12-18 14:13

Using WritePrivateProfileString and GetPrivateProfileString results in ??? instead of the real characters.

4条回答
  •  感情败类
    2020-12-18 14:56

    According to the WritePrivateProfileString documentation, there is a Unicode version: WritePrivateProfileStringW. Use that, and you should be able to use Unicode characters.

提交回复
热议问题