我的ASCII文本出现了吗?在控制台应用程序 [英] My ASCII text appear is ? in console application

查看:57
本文介绍了我的ASCII文本出现了吗?在控制台应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在显示ASCII文本时遇到问题,例如:♥在控制台应用程序中。



我尝试过:



通常情况下,我在学校编码,然后复制文件并在家里完成剩下的工作。但是,学校的计算机能够很好地查看符号,而我的计算机会显示为?即使程序完全相同,我正在使用与学校相同的MS Visual Studio 2010。我从美国地区买了我的电脑,虽然学校的电脑非常肯定来自德国。这会有什么不同吗?

Hi, I am having problem with displaying an ASCII text for example:♥ in the console application.

What I have tried:

Normally, I do the coding at school and then copy the file and do the rest at house. However, the school's computer is able to view the symbol just fine while mine will display as "?" even though the program is exactly the same and I'm using MS Visual Studio 2010 same as the school. I bought my computer from US region though while the school's computer pretty sure is from Germany. Does that make any different?

推荐答案

字体。



检查您要输出的字体是什么两台电脑。学校计算机使用的是您尚未安装的字体。 (可能是因为它的区域设置不同,但是我自己也不能确定它们。
Fonts.

Check what font you are trying to output in the two computers. The school computer is using a font you do not have installed. (Possibly because it's locale is different, but without looking at them myself I can't be sure.


这篇关于我的ASCII文本出现了吗?在控制台应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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