MySQL Forums
Forum List  »  Perl

DBD::mysql mysql_enable_utf8 Question
Posted by: jaakko p
Date: November 25, 2008 04:06PM

I have a couple questions regarding the use of the mysql_enable_utf8 option with the DBD that I haven't been able to find answers for. This may be more appropriate for the Character Encoding forum, if so let me know and I can move it.

1. If I set the mysql_enable_utf8 flag on a connection, does that truely mean I need to pass only UTF-8 data to that handle? Can I pass latin1 data to it without error?

2. Are there performance issues with turning the mysql_enable_utf8 option on?

Presently we are running a database that has a mixture of latin1 and utf8 tables, so I am trying to determine what kind of refactoring my be required to accommodate all tables within the database. Want to make our internal scripts as backwards compatible as possible.


Edited 1 time(s). Last edit at 11/25/2008 04:13PM by jaakko p.

Options: ReplyQuote

Written By
DBD::mysql mysql_enable_utf8 Question
November 25, 2008 04:06PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.