如何更改进程(或线程)的代码页 [英] How to change the codepage for a process (or thread)

查看:169
本文介绍了如何更改进程(或线程)的代码页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以更改进程或线程的代码页?我已经找到了本机API http://msdn.microsoft.com/en-us/library/883tf19a(v= vs.90 ),但我一直在寻找托管API.

Is there a way to change the codepage for a process or thread? I've found this native API http://msdn.microsoft.com/en-us/library/883tf19a(v=vs.90), but I was looking for a managed API.

是否甚至可以仅为特定进程更改代码页?我知道当我通过控制面板"对其进行更改时,它会为所有进程进行更改.

Is it even possible to change the codepage for only a specific process? I know when I change it through Control Pannel it changes it for all processes.

谢谢!

推荐答案

您的意思是:
Do you mean: Thread.CurrentCulture?


这篇关于如何更改进程(或线程)的代码页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆