[ejabberd] mysql native driver

Max Loparyev max at city.veganet.ru
Wed May 3 23:51:34 MSD 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I found that it is assumed that connection made with utf8 encoding. It
is not true for mysql 5. It thinks that you sending latin1 data and
converts it to utf8, so double converted data is placed in database. As
noted in documentation you need to specify exactly in which encoding you
are operating with SET NAMES 'UTF8'; after opening connection.

- --
Saionara, Max.
xmpp:mcsim at city.veganet.ru
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEWQnGyE/fJmkHyncRAg5GAKDGxW52BE5pfFHPJE5Frv+pZnBjmwCgvcg/
29Q7eGmIOV/9hWrWDzxjimQ=
=k1ct
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3505 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.jabber.ru/pipermail/ejabberd/attachments/20060503/8fae83a5/smime.bin


More information about the ejabberd mailing list