如何在sql server 2005中的hindi中存储数据 [英] How to store data in hindi in sql server 2005

查看:74
本文介绍了如何在sql server 2005中的hindi中存储数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想以hindi字体存储数据....我更改了hindi中的文本字体,但它不起作用...

I want to store data in hindi font.... I changed the text font in hindi but its not working...

推荐答案

有几种方法..atleast首先搜索它已经在codeproject之前询问过..

如何存储印地文数据在sql server 2005中 [ ^ ])



1)你必须选择数据类型nvarchar并使用unicode存储印地文数据(好消息),因为所有没有hindi字体作为mobile,平板电脑的机器都支持unicode ,更多...
there are several way..atleast first search it it asked before already on codeproject..
(how to store hindi data in sql server 2005[^])

1) you have to choose datatype nvarchar and use unicode to store hindi data (the good soution) because unicode supported by all machines which have not hindi font as mobile , tablet, many more...


如果你的字体概念来自于unicode时代之前,你应该快速摆脱它!

在Unicode之前,有许多字母表的官方代码页。对于某些字母表,这些代码页不是正式存在的,它们只是由字体模拟。即文本存储为ASCII,但字体显示一些外来字符而不是ASCII字符,类似于那个时代的Wingdings字体。现在使用Unicode,使用Unicode。在SQL Server中,使用nchar或nvarchar数据类型。
If your concept of "font" is something from the pre-unicode-era, you should get rid of it quickly!
Before Unicode, there were official code pages for many alphabets. And for some alphabets, those code pages did not exist officially, they were just "emulated" by a font. I.e. the text was stored as ASCII, but the font displayed some foreign characters instead of ASCII characters, similar to the Wingdings font during that era. With Unicode available nowadays, use Unicode. And in SQL server, use the nchar or nvarchar data type.


这篇关于如何在sql server 2005中的hindi中存储数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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