如何使用vs 2015将程序设置为多字节字符集 [英] How to set the program to multi byte character set using vs 2015

查看:1107
本文介绍了如何使用vs 2015将程序设置为多字节字符集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮助我如何使用VS 2015将程序设置为多字节字符集..

我正在使用C#。



我尝试过:



我找不到配置属性>此链接中的字符集..



https://studiofreya.com/2014/11/25/character-set-encoding-in-visual-studio-2013 /

Please help me how to set my program to multi byte character set using VS 2015..
I'm using C#.

What I have tried:

I can't find the Configuration Properties > Character Set in this Link..

https://studiofreya.com/2014/11/25/character-set-encoding-in-visual-studio-2013/

推荐答案

据我所知,没有选择。 C#创建Unicode应用程序。



使用多字节的唯一原因是支持Windows 9x。但即便如此,也可以使用带有附加DLL的Unicode。



如果要访问多字节编码的文件,请使用编码类(System.Text) [ ^ ]转换文字(例如阅读) MBCS文件二进制,转换为Unicode,处理,转换回MBCS,写二进制)。
As far as I know there is no option. C# creates Unicode applications.

The only reason to use multi byte would be supporting Windows 9x. But even that can use Unicode with an additional DLL.

If you want to access files with multi byte encoding use the Encoding Class (System.Text)[^] to convert text (e.g. read MBCS file binary, convert to Unicode, process, convert back to MBCS, write binary).


这篇关于如何使用vs 2015将程序设置为多字节字符集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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