Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save Unicode data to Mysql
Message
De
02/04/2016 01:06:41
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Save Unicode data to Mysql
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Database:
MySQL
Divers
Thread ID:
01634182
Message ID:
01634182
Vues:
29
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform