I have a database db file, the data table has a field is kept garbled.
Now been measured before, this field is utf8 encoded.
I took this field from the database, how it is displayed as normal characters?
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Database already exists, and now want to use this database file. Internet is a lot, did not find specific solutions, find great God Weapon!
Reply:
Access to data is garbled by UTF8 encoding it?
Reply:
Can not be resolved, Bengxiang unless there sqlite inside, otherwise you have to send json
Reply:
Ah using new String (paramString.getBytes (), "utf-8") This method is garbled, and get stored in the database is the same
Reply:
. . .
Reply:
Determine the database encoding is UTF8? If so, whether it may be time to write the ASCII code to write data? Treat it as ASCII code data taken out look.
The best way is to talk to write data to confirm what is written specifically coded data.
Reply:
Database encoding is UTF8, however, encoding the data stored inside, is not necessarily UTF8,,, there are some confused people will scrawl, but as he read his own way out of the normal.
Reply:
Positive solutions ...
Reply:
I try
Reply:
I suspect that the field is made up encryption algorithms. . . I do not know the rules can not be restored. .
The database is looking for online. . .
Reply:
How to get existence sqlite inside?
No comments:
Post a Comment