|
-
April 18th, 2008, 02:00 AM
#1
String changed after inserting into db
Hello,
I am inserting some unicode string into the SQLite database. After inserting, at the time of retrieving value has been modified.
For example:
I am inserting "즒铭ꓽ菷\큭셙냼誜\꾁霤꿩뱪낌.wma"
when i am retrieving it the value is : "铭ꓽ菷\큭셙냼誜\꾁霤꿩뱪낌.wma"
It seems that the problem is related to the some symbols having ASCII value between these ranges:
1. 56320 - 57343
2. 55296 - 56319
I debugged and found that, upto the point where we call sqlite3_step () method value goes correctly, but it changed after inserting into the database.
Please help me regarding this issue.
Thannks in advance.
-
April 21st, 2008, 09:30 AM
#2
Re: String changed after inserting into db
Make sure that the language settings are all properly set, this looks like one of them doesn't like the characters the other one is barking at it.
On Error Kill(User)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|