sqlite database in persian language

我是研究僧i 提交于 2019-12-01 05:58:09

sqlite supports UTF-8, UTF-16 and this is quite enough to store arabic or persian.

Most probably you get "_" because the import tool expects different charset than the charset of your original file.

breadbin

Persian/Farsi is not supported in Android up to version 4.0, but there are some things that might help you listed here.

I also came across this stackoverflow question about Persian numbers in SQL, though I'm not sure that will help at all.

I found a similar question to yours: C# - Does Sqlite database support persian/arabic encoding? and this seems to give an unfortunately negative answer:

In short: No.

SQLite support only a very, very limited number of encodings: UTF-8 and UTF-16 (multiple varieties).

Fortunately, UTF-8 is perfectly suitable for expressing Arabic or Persian, or any other language (including Klingon, should the fancy grab you).

It is posible, of course, that some other part of your toolchain is bungling the encoding, check the documentation for the C#.net SQLite wrapper, and your Forms code.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!