如何辨别我的日元符号是反斜线还是日元? [英] How to tell if my YEN symbol is a backslash or a YEN?

查看:95
本文介绍了如何辨别我的日元符号是反斜线还是日元?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个小程序,用于将反斜杠符号打印到PDF文件中.在大多数英语操作系统中,反斜杠显示为反斜杠,并且我的程序运行正常.但是,在日语操作系统或朝鲜语操作系统中,我的程序开始出现问题.在那些OS中,反斜杠显示为YEN或WON符号,但我的程序将其导出为反斜杠.我知道这是字体的错误,但是我仍然想找到解决方案.有人知道如何判断我的反斜杠是像反斜杠一样显示吗?

I have a little program which is used to print the backslash symbol to the PDF file. In most English OS a backslash is displayed as a backslash, and my program works just fine. However, in Japanese OS or Korean OS my program starts to have problem. In those OS, a backslash is displayed as a YEN or WON symbol, but my program exports them as a backslash. I know that this is a bug of the font which has been around but i still want to find a solution for it. Does anyone know how to tell if my backslash is displayed like a backslash or something else?

推荐答案

您将不知道字体显示的是什么字符.它们使用相同的字符代码 0x5C

You would not know what character is display by font. They are in same character code 0x5C

请不要使用系统默认字体(例如MS Pゴシック),为Arial分配英文字体

Instead don't use system default font (for eg, MS Pゴシック), assign english font for eg, Arial

使用 查看全文

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