如何使用Marathi字体在C#中创建应用程序 [英] how to create an application in c# using marathi font

查看:55
本文介绍了如何使用Marathi字体在C#中创建应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用marathi字体创建应用程序

how to create an application using marathi font

推荐答案

您要本地化您的应用程序.从这里开始- ASP.NET全球化和本地化 [ .NET-使用资源文件进行本地化 [ http://www.codeproject.com/KB/locale/ [ [
You want to localize your application. Start here - ASP.NET Globalization and Localization[^]

And also remember Google is always there for more specific search.


Sorry, you have mentioned just C# and not ASP.NET. Here are some links which might help you -
.NET - Localization using Resource file[^]
http://www.codeproject.com/KB/locale/[^]
Google search - localisation c#[^]


请参见
.NET-使用资源文件进行本地化 [ http://development.meritsolutions.com/matters/localization-and-globalization-in -c-localization/ [ ^ ]
http://msdn.microsoft.com/en-us/library/y99d1cd3%28v = VS.100%29.aspx [ ^ ]
See
.NET - Localization using Resource file[^]
http://development.meritsolutions.com/matters/localization-and-globalization-in-c-localization/[^]
http://msdn.microsoft.com/en-us/library/y99d1cd3%28v=VS.100%29.aspx[^]


没有这种字体.整个想法是错误的.这不是Unicode的工作方式.首先,没有这样的书写系统/笔迹. Marathi使用Devanagari或Modi字母,请参见:
http://en.wikipedia.org/wiki/Marathi_language [ http://en.wikipedia.org/wiki/Devan%C4%81gar%C4%AB [ ^ ],
http://en.wikipedia.org/wiki/Modi_script [
现在,我不确定Modi,但是Devanagari非常受欢迎,因为它被用于许多最常用的印度语言中,包括印地语,马拉地语,尼泊尔语和对许多人的文化非常重要的历史语言-梵语.默认情况下,几乎所有现代平台都支持它.

由于.NET字符串内部以UTF-16编码使用Unicode,因此它也支持此脚本.您无需担心.唯一需要关注的是字体. Microsoft"Arial Unicode MS"支持大多数脚本.如果您开发Web应用程序,则大多数所谓的"Web安全"字体也支持Devanagari.您需要在所有页面文件中使用UTF-8编码,并在http-equiv中声明此编码.

另请参见:
http://unicode.org/ [ ^ ],
http://unicode.org/faq/utf_bom.html [
There is no such font. The whole idea is wrong. This is not how Unicode works. First, there is no such writing system/scrip. Marathi uses either Devanagari or Modi alphabet, see:
http://en.wikipedia.org/wiki/Marathi_language[^],
http://en.wikipedia.org/wiki/Devan%C4%81gar%C4%AB[^],
http://en.wikipedia.org/wiki/Modi_script[^].

Again, in both cases, there are no such fonts. All writing systems use Unicode, which is rendered using different fonts and each font normally supports some sub-set of Unicode code points.

For any given font, you can easily test what subset of Unicode it supports using the application "Character Map" (charmap.exe) bundled with every version of Windows. Look at "Unicode subrange".

Now, I''m not sure about Modi, but Devanagari is extremely popular, as it is used in many most used Indian languages including Hindi, Marat Nepali and historical language very important for culture of many people — Sanskrit. It is supported by default by nearly all modern platforms.

As .NET strings internally use Unicode in its UTF-16 encoding it also supports this script. There is nothing for you to worry about; the only concern is the font. Microsoft "Arial Unicode MS" supports the most of the scripts. If you develop a Web application, most of the so called "Web-safe" fonts also support Devanagari. You need to use the encoding UTF-8 in all page files and claim this encoding in http-equiv.

See also:
http://unicode.org/[^],
http://unicode.org/faq/utf_bom.html[^].

—SA


这篇关于如何使用Marathi字体在C#中创建应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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