摘要:
Windows API 函数 GetACP 可以获得当前系统的代码页编码,如简体中文是 936。如果要获得 Dos 下的代码页,则需要调用 GetOEMCP 函数。如果要判断代码页的有效性,调用 IsValidCodePage 函数。以上函数在 Delphi 中需要引用 Windows 单元。参考:How can I read the current code page of system? http://www.scalabium.com/faq/dct0082.htmTechnorati 标签: Delphi,GetACP,GetOEMCP,IsValidCodePage 阅读全文
posted @ 2011-07-14 00:17
ET民工[源自火星]
阅读(4403)
评论(0)
推荐(1)
浙公网安备 33010602011771号