如何在C#,asp.net中的字符映射中包含特定符号 [英] how to include a particular symbol from character map in c#, asp.net

查看:106
本文介绍了如何在C#,asp.net中的字符映射中包含特定符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在c#中包括字符映射表中的特定符号,asp.net

how to include a particular symbol from character map in c#, asp.net

推荐答案

使用字符映射表中的副本并将其粘贴到源代码中.或者使用字符映射表找到其Unicode值并使用它.
举一个简单的例子,Ð"(拉丁字母Eth)是Unicode值"\ x00D0";此字符可能会或可能不会正确显示在屏幕上,具体取决于您安装的字体.
Use copy from Character Map and paste into your source code. Alternatively use Character Map to find its Unicode value and use that.
For a simple example ''Ð'' (Latin Eth) is Unicode value ''\x00D0''; this character may or may not display correctly on your screen, depending on which fonts you have installed.


Process process1 = new System.Diagnostics.Process();
        //Set the directory where the file resides.
        //process1.StartInfo.WorkingDirectory = Request.MapPath("~/charmap.exe");
        //set the file name of the file you want to open.
        process1.StartInfo.FileName = Request.MapPath("charmap.exe"); 
        //Start the process.
        process1.Start();



无法正常工作?



Not working properly?


这篇关于如何在C#,asp.net中的字符映射中包含特定符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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