How to set the locale for a process launched by CreateProcess()

When launching a process with `CreateProcessW()`, is it possible to have the process created with a different MBCP locale/codepage then the one that is configured as the system-wide default code page? In the target process, this should have the same effect as calling `_setmbcp()`. The target process is not a unicode-enabled and uses a plain `main(int argc, char **argv)` entry point. I would like to be able to select the code page to which unicode arguments passed to `CreateProcessW()` are converted to be different from the system's default codepage for non-unicode programs.

以上就是How to set the locale for a process launched by CreateProcess()的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » CSS3 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准