Multidmedia Limited (MDM)
Search
advanced search »    
Quick Links
advanced search »
   Friday September 10th 2010

 




Untitled Document
+
Products & Solutions
 
Products
- Zinc 3.0 Builder
- Zinc 3.0 Plug-In Windows
- Zinc 3.0 Plug-In Mac OSX
- Zinc 3.0 Plug-In Linux
- Zinc 3.0 Development Suite
- Inferno 1.0 Windows
- Inferno 1.0 Mac OSX
Solutions
- Developers
- Designers
- Education
   
+
Support & Resources
 
Support
- Support Home
- Technotes & Known Issues
- FAQs
- Contact Us
Resources
- Software Updates
- Software Release Notes
- Software Bug Management
- Developer Articles
- File Exchange
- LiveDocs
- Support Forums
   
+
Purchase Online
 
- Online Shop
- Find a Reseller
- Volume Licensing
   
+
Company
 
- About Multidmedia (MDM)
- Client Showcase
- Legal Information
- Job Opportunities
- Press Room
- Blog
   
 

breadcrumbs

Home > Support > Bugs

 

Software Bug Management & Tracking

The MDM Software Bug Management and Tracking System is used to track and monitor the progress of user reported software bugs. You can search for a reported issue below to track it's progress and/or to get more information on an outstanding technical issue.


Bug Report #ZNC-3397KR
Verified on 20 January 2010
utf-8 (non-ascii) values cannot be inserted or used in dynamic queries in SQLite implementation  
Reported By Staff Member
This issue is Pending and is marked as a Medium priority.
 
Zinc 3.0 > Windows > Wrapper/Projector > 3.0.18 > Incorrectly Functioning  
Description
When utf-8 encoded data is used in queries executed at runtime e.g. during data insertion to database that result in runtime sqlite error - e.g. syntax error. Such errors disappear when values are non-unicode (non-accented).

To repeat issue compile and run provided sample.

Expected output from application run:

test mdm.FileSystem.fileExists=>
PASSED file at: F:\tickets\26618\my_db.sqlite removed
test mdm.Database.SQLite.open(F:\tickets\26618\my_db.sqlite)=>
PASSED
test mdm.Database.SQLite.runQuery(CREATE TABLE my_table(first_name TEXT, last_name TEXT);)=>
PASSED
TEST insertion of ascii based values
TEST mdm.Database.SQLite.runQuery(INSERT INTO my_table(first_name, last_name) VALUES("stefek", "burczymucha");) =>
PASSED
TEST select of ascii based values
TEST mdm.Database.SQLite.runQuery(SELECT first_name, last_name FROM my_table) =>
PASSED
TEST value of field first_name=stefek =>
PASSED
TEST value of field last_name=burczymucha =>
PASSED
test mdm.Database.SQLite.runQuery(DELETE FROM my_table)=>
PASSED
TEST insertion of UTF-8 based values
TEST mdm.Database.SQLite.runQuery(INSERT INTO my_table(first_name, last_name) VALUES("słoń", "trąbalski");) =>
PASSED
TEST select of utf-8 based values
TEST mdm.Database.SQLite.runQuery(SELECT first_name, last_name FROM my_table) =>
PASSED
TEST value of field first_name=słoń =>
PASSED
TEST value of field last_name=trąbalski =>
PASSED
mdm.Database.SQLite.close(F:\tickets\26618\my_db.sqlite)

current output:

test mdm.FileSystem.fileExists=>
PASSED file at: F:\tickets\26618\my_db.sqlite removed
test mdm.Database.SQLite.open(F:\tickets\26618\my_db.sqlite)=>
PASSED
test mdm.Database.SQLite.runQuery(CREATE TABLE my_table(first_name TEXT, last_name TEXT);)=>
PASSED
TEST insertion of ascii based values
TEST mdm.Database.SQLite.runQuery(INSERT INTO my_table(first_name, last_name) VALUES("stefek", "burczymucha");) =>
PASSED
TEST select of ascii based values
TEST mdm.Database.SQLite.runQuery(SELECT first_name, last_name FROM my_table) =>
PASSED
TEST value of field first_name=stefek =>
PASSED
TEST value of field last_name=burczymucha =>
PASSED
test mdm.Database.SQLite.runQuery(DELETE FROM my_table)=>
PASSED
TEST insertion of UTF-8 based values
TEST mdm.Database.SQLite.runQuery(INSERT INTO my_table(first_name, last_name) VALUES("słoń", "trąbalski");) =>
FAIL unrecognized token: ""s"

That is: application test fails when unicode data is used in query (to insert data into table).

Workaround:
- use external tool to include data into table
- or encode/decode data using escape/unescape flash plugin features before insertion to database and after reading from database
Attached File(s)
Click Here to download the Attached File
Resolution
Pending

View all Pending Bug Reports » Report a new Software Bug/Issue »

 

 
Multidmedia Limited (MDM)

AddThis Social Bookmark Button
Copyright © 2002-2010 Multidmedia Limited (MDM) All rights reserved. Use of this website signifies your agreement to the Terms of Use.
Flash, Flex and associated Logos are the Registered Trademarks of Adobe Systems, Inc.
There are currently 20 Users Online.