在C#语言ગુજરાતી [英] ગુજરાતી language in C#

查看:124
本文介绍了在C#语言ગુજરાતી的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建使用C#中的古吉拉特语词典的申请。

I am creating a "Gujarati To English Dictionary" application using C#.

在这我想,如果用户键入键盘tajmhalતાજમહાલ将显示在同时的文本框。

In which I would want that if user types "tajmhal" from the keyboard "તાજમહાલ" would be displayed in the TEXTBOX at the same time.

即如果koml,કોમલ显示。等等...

ie. If "koml" , "કોમલ" is displayed. etc...

我已经下载并设置字体为文本框古吉拉特语SARAL-1和它的作品。

I have downloaded and set the font for the textbox to "Gujarati Saral-1" and it works.

但是,当我保存文本框将其存储为数据库中的文字tajmhal而不是તાજમહાલ。

But when I store the text of the textbox to the database it is stored as "tajmhal" not "તાજમહાલ".

所以,请你建议?我一个解决方案。

so, could you please suggest to me another solution?

推荐答案

这就是我所说的在看这个的这字体不是Unicode字体,而是显示拉丁语代码点作为古吉拉特字形fonts2u.com/gujrati-saral-1.font~~V相对=nofollow>字体信息页面。

From what I call tell after looking at this font info page this font is NOT a Unicode font, but rather displays Latin code-points as Gujarati glyphs.

为了使你的想法的工作,你需要使用Unicode的古吉拉特语兼容的字体,以及它的等效字符替换每个拉丁字符。请参见的古吉拉特语码点这个表

In order to make your idea work, you need to use a Gujarati Unicode-compliant font, and replace each Latin character with its equivalent character. See this table for the Gujarati code-points.

这篇关于在C#语言ગુજરાતી的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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