i am facing problems while reading data from SQl Lite Database against arabic data that i have stored. Arabic text is saved correctly in my Db. I am using following code.
if(language == "arabic"){
//alert(value);
db.transaction(function(tx) {tx.executeSql('SELECT * FROM BRANDOFFERS WHERE brandId IN (SELECT id FROM BRANDS WHERE nameArabic="'+value+'") ', [], fillDiscountType, errorCB);}, errorCB);
}else{
db.transaction(function(tx) {tx.executeSql('SELECT * FROM BRANDOFFERS WHERE brandId IN (SELECT id FROM BRANDS WHERE name="'+value+'") ', [], fillDiscountType, errorCB);}, errorCB);
In case of arabic it not fetching any result but against english i am getting correct results. Moreover, I tried to display the arabic text from sqllite DB, it is showing right. But, i don't why it can't able to search with the arabic text.In