简体   繁体   English

如何将指定的字体 ASCII 转换为 Unicode?

[英]How to convert a Specified Font ASCII to Unicode?

Can anyone have an idea about how to convert specified FONT ASCII to UNICODE?谁能知道如何将指定的 FONT ASCII 转换为 UNICODE? I have a situation where I need to do it like this.. ie if im specifying "Tahoma" as font it should convert all the character ASCII which is in Tahoma font to UNICODE data.我有一种情况,我需要这样做.. 即如果我指定“Tahoma”作为字体,它应该将 Tahoma 字体中的所有字符 ASCII 转换为 UNICODE 数据。

Please help me in this.请帮助我。 I searched a lot.. Everywhere it is only conversion of normal ASCII to Unicode not with specified font..我搜索了很多..到处都是普通的ASCII到Unicode的转换,而不是指定的字体..

Unicode merely represents a character - not the style of the character, which is defined by the font name. Unicode 仅代表一个字符 - 而不是字符的样式,它由字体名称定义。

So, the letters ABC £ $ and suchlike are all ASCII and Unicode characters.因此,字母 ABC £ $ 等都是 ASCII 和 Unicode 字符。

If you want to make it possible for your users to enter text that is styled with a particular font in a Web application, you'll need to use a "rich text" or "HTML" editing control.如果您想让您的用户在 Web 应用程序中输入具有特定字体样式的文本,您将需要使用“富文本”或“HTML”编辑控件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM