[Israel.pm] MySQL, Class::DBI and hebrew?

Yona Shlomo yona at cs.technion.ac.il
Wed Mar 5 17:46:42 EET 2008


On Tue, 4 Mar 2008, Shmuel Fomberg wrote:

> Hi All.

Hello,

> I have a table in MySQL, that I access using Class::DBI, which contains
> names.
> The names should be in Hebrew.
> Can I keep Hebrew in the database? Should I use utf8 or some other encoding?

MySQL's default character encoding, as far as I remember is
iso-8859-1 or latin-1, both of which are not very Hebrew
friendly.

You can configure MySQL to work in some other encoding
(UTF-8 sounds like a wise choice).


-- 
Shlomo Yona
yona at cs.technion.ac.il
http://yeda.cs.technion.ac.il/~yona/


More information about the Perl mailing list