openGeeksLab / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

Problems storing accented characters in database with new iOS VM #1317

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have a database app that has problems running under the new iOS VM. 

I query the database and display the results in a list. I store text 
information in the database, if the text contains accented characters then when 
I display the results in the list each accented character is displayed as two 
question marks.

I have created a test program to reproduce this problem. This app runs fine in 
the simulator and it runs fine on the device when built with the old iOS VM. 
When built with the new VM, the data is corrupted. 

The text used in this test program is "Déjà Vu".

I have attached a screenshot of the app built with the new VM showing the 
problem and the test code needed to reproduce it.

Original issue reported on code.google.com by mwarn...@readerware.com on 27 Jan 2015 at 11:03

Attachments:

GoogleCodeExporter commented 8 years ago
Is this still happening?
We made several fixes to encoding issues recently.

Original comment by shai.almog on 1 Feb 2015 at 6:55

GoogleCodeExporter commented 8 years ago
Yes.

I just rebuilt my test app and the results are the same. Nothing seems to have 
changed, the results are identical to the screenshot submitted earlier.

Original comment by mwarn...@readerware.com on 1 Feb 2015 at 2:21

GoogleCodeExporter commented 8 years ago
I'll take a look.

Original comment by shai.almog on 1 Feb 2015 at 2:57

GoogleCodeExporter commented 8 years ago
OK, its fixed in SVN now. This was actually a problem of reading from the 
database not of writing.

Original comment by shai.almog on 1 Feb 2015 at 3:28