如何在sqlite中创建一个阿拉伯语查询 [英] how to create a arabic query in sqlite

查看:91
本文介绍了如何在sqlite中创建一个阿拉伯语查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在SQLite中有一个[带有阿拉伯字符]的表格,并且在活动中有一个带有阿拉伯语项目的微调器。我想在表中搜索微调项目但是当我运行查询时,结果无效。用utf8格式保存的表格,我使用阿拉伯字体的旋转器。我在eclipse和java语言中工作。请帮助我。

I have a table [with arabic character] in SQLite and a spinner with arabic item in activity. I want to search spinner item in table but when I run the query, result is ineffective. table saved with utf8 format and I used arabic font for spinner. I am work in eclipse and java language. Please help me.

推荐答案

UTF-8使用正确。

DB中保存的字符串也是由UTF-8制作的逃避顺序?



应该是。必须是。

数据库不理解非ASCII。
UTF-8 is correct to use.
Is the saved String in the DB also made from UTF-8 escape sequenzes?

Should be. Must be.
The database does not understand non-ASCII.


这篇关于如何在sqlite中创建一个阿拉伯语查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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