Wade Preston Shearer wrote:
> I have a script that leads a CSV into my MySQL database via LOAD DATA
> LOCAL INFILE. It does not work when the file is encoded UTF-16. Is this
> because LOAD DATA LOCAL INFILE can't handle a file encoded that way or
> due to some configuration on the database it's trying to insert to?

The mysql docs make it sound like it probably won't work unless your
mysql is version 5.1.17 or higher. Also, check what character sets are
available "SHOW CHARACTER SET"

Mine lists ucs2, but not utf-16

Orson


_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to