Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Save Unicode data to Mysql
Message
From
02/04/2016 01:06:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Save Unicode data to Mysql
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Database:
MySQL
Miscellaneous
Thread ID:
01634182
Message ID:
01634182
Views:
30
G'day

I try to save unicode data to Mysql Server by using :

=SYS(3101,65001)
=SYS(987, .F.)

mName = STRCONV(THISFORM.olecontrol2.text,12)
mName = CREATEBINARY(mName)


SQLEXEC(m.lnConn, "INSERT INTO testunicode (name) VALUES (CAST(?mName AS CHAR(100) ))")


But it seem the code cant work correctly.

Any advise?

Thank and regards in advance.
Next
Reply
Map
View

Click here to load this message in the networking platform