如何制作基于孟加拉语言的数据库和软件? [英] How to make a Bangla language based database and software ?
本文介绍了如何制作基于孟加拉语言的数据库和软件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用C#.NET创建一个软件,该软件是Bangla语言的拼写检查器.为此,我需要建立一个数据库来存储孟加拉语"单词,并通过编程来检查拼写.
那怎么办呢?
Hi,
I want to create a software using C#.NET which is a Spell Checker for Bangla Language. For this, I need to build a database which will store the ''Bangla'' words and by programming, it will check the spelling.
So how can I do it?
推荐答案
使相关列的类型为NVarChar
,当您输入数据时,请确保在其前面加上"N" ,就像这样:
Make the relevant columns of typeNVarChar
and when you enter data be sure to precede it with an ''N'', something like this:
SET BanglaWord = N'aBanglaWord'
1.确保您的数据库具有Unicode功能并且可以识别.
2.将列创建为VARCHAR(64)CHARACTER SET UTF8
或适用于您数据库的任何语法.
3. 通常以通常的方式将数据添加到您的列.
1. Make sure your database is Unicode capable and aware.
2. Create a column asVARCHAR (64) CHARACTER SET UTF8
or whatever syntax is appropriate for your database.
3. Add data to your column normally, in the usual way.
这篇关于如何制作基于孟加拉语言的数据库和软件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文