如何在C#windows应用程序中设置malayalam字体 [英] How to set malayalam font in C# windows application

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

问题描述

我希望开发一个寺庙软件。在这个项目中,我想要malayalam字体。我可以在asp.net C#windows应用程序中设置malayalam字体。这个数据如何在sql server 2008中存储r2



我试过的:



i wish to develop a temple software . in this project i want malayalam fonts .how i can set the malayalam font in asp.net C# windows application . and this data how to store in sql server 2008 r2

What I have tried:

i wish to develop a temple software . in this project i want malayalam fonts .how i can set the malayalam font in asp.net C# windows application . and this data how to store in sql server 2008 r2 

推荐答案

使用 unicode 而不是8位ISCI编码。

当您使用 nvarchar 而不是 varchar <时,SQL服务器将处理此问题/ code>用于文本字段。
By using unicode instead of an 8bit ISCI encoding.
The SQL server will cope with that when you use nvarchar instead of varchar for text fields.


Program.Main()中输入:

In your Program.Main() put this:
CultureInfo.DefaultThreadCurrentCulture = CultureInfo.CreateSpecificCulture("en-GB");
CultureInfo.DefaultThreadCurrentUICulture = CultureInfo.CreateSpecificCulture("en-GB");


我如何在asp.net C中设置malayalam字体# Windows应用程序

asp.net malayalam字体 [< a href =https://www.google.com/search?q=asp.net+malayalam+font\"target =_ blank> ^ ]会产生几个相关结果。



和这个数据如何存储在sql server 2008 r2

从技术上讲,你没有将字体存储在数据库中,你只存储文本,不管它是什么是,使用解决方案2中建议的 nvarchar 数据类型。
"how i can set the malayalam font in asp.net C# windows application"
asp.net malayalam font[^] yields several related results.

"and this data how to store in sql server 2008 r2"
Technically, you do not store the font in the database, you only store the text, whatever it is, using nvarchar datatype as suggested in solution 2.


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

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