Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

devangpandya

macrumors newbie
Original poster
Mar 14, 2009
2
0
Hi,
I want to include special characters in my search query and get results according to it. I have tried to used different encodings using the following line.
for example
select * from table X where name like 'Č'

And i am using the following code to get my cString.
const char *utfsql = [sql cStringUsingEncoding:NSUTF8StringEncoding]

But the query is not properly created regardless of the encoding i provide. Am i missing something? Please provide details if anybody faced has faced a similar issue
Thanks.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.