jicman
Joined: 22 Dec 2004 Posts: 298 Location: Rochester, NY
|
Posted: Wed Jan 09, 2008 3:25 pm Post subject: 4invalid UTF-8 sequence ERROR |
|
|
Greetings.
I have also posted this problem on the DDBI forum, since I am trying to figure out what is going on. I have a program that sends and receives data from SQLite3 using DFL. When I do try to do group INSERT or UPDATE the DFL application fails with "An application exception has occured. Click Continue to allow the application to ignore this error and attemp to continue." and in the error text it has "4invalid UTF-8 sequence", which, since I am writing to the SQLite DBs, I believe, DFL is receiving this error from SQLite3. When I print out the command that I sent to SQLite, the command is perfect and so, there is no real invalid UTF-8 sequence. I have tried to use ddbg to figure this out, but I can not seem to get it. I have also set the string to UTF8 and that still causes the problem. Also, somehow, it appears as though the commands are getting weird characters inserted on the command, even though when I display and write to a file that command, it is perfectly, but SQLite3 is receiving bogus data.
Any idea as to how to go about figuring out what is wrong here?
Can I set some values where I can know which line of code caused this problem?
By the way, I can SELECT from the SQLite3 without any problems. It is just the UPDATES and INSERTS.
thanks for the help.
jose |
|