如何在asp.net的textbox控件中编写hindi。 [英] how to write hindi in textbox control in asp.net.

查看:74
本文介绍了如何在asp.net的textbox控件中编写hindi。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

how to write hindi in textbox control in asp.net.
for reference open shabdkosh.com. i want when user type then word type in hindi offline. 

推荐答案

只需用印地语写。 Modern Hindi使用Devanāgarī书写系统,该系统很受欢迎,几乎可以在所有现代平台上得到支持: Devanagari - 维基百科,免费的百科全书 [ ^ ]。



.NET完全基于Unicode,因此您不必担心它,但HTML需要适当的内容类型编码,您应该在头部定义元素:

Just write in Hindi. Modern Hindi uses Devanāgarī writing system, which is popular enough to be supported on nearly all modern platforms: Devanagari - Wikipedia, the free encyclopedia[^].

.NET is based on Unicode entirely, so you don't need to worry about it, but HTML needs proper "content-type" encoding, which you should be defined in the head element:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />



当然,所有带有Unicode文本的文件都应保存为UTF-8。这是可能的,但使用任何其他Unicode UTF是没有意义的; UTF-8是Web的标准事实。



请注意,即使HTTP浏览器设置为默认使用此编码,此HTTP-EQUIV声明也很重要。想象一下,有人在客户端保存HTML文件;没有这个HTTP-EQUIV,编码信息就会丢失。



-SA


这篇关于如何在asp.net的textbox控件中编写hindi。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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