News for hackers. Stuff that matters.
Re:Unicode nearing 50% of the web by happenstance on Thursday January 28, 2010 @04:18PM (#1085063)
Why does MySQL still default to latin1? (Or am I mistaken?)
Re:Unicode nearing 50% of the web by ars on Thursday January 28, 2010 @05:53PM (#1085306)
Just run:

ALTER DATABASE database_name DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

And you don't have to worry about it for any new tables. (If you have existing ones, you'll have to change the table default, and possibly the column too.)

Re:Unicode nearing 50% of the web by wvenable on Thursday January 28, 2010 @04:45PM (#1085134)
Because changing the defaults might mean a world of hurt for people not expecting it. You should just always be explicit.
Re:Unicode nearing 50% of the web by happenstance on Thursday January 28, 2010 @04:52PM (#1085142)
> You should just always be explicit.

I generally agree.

Note: I think if you leave out any specific encoding configuration from your my.cnf, mysql implicitly goes with latin1.

For users who are assuming a modern unicode/utf8 default setup, might be nice if the mysql folks would require an explicit config for this setting.