Skip to content
This repository has been archived by the owner on Mar 7, 2020. It is now read-only.

Mysql encoding #2

Open
andriusch opened this issue Dec 23, 2009 · 4 comments
Open

Mysql encoding #2

andriusch opened this issue Dec 23, 2009 · 4 comments

Comments

@andriusch
Copy link

As nothing is configured in my.cnf mysql sets encoding to latin. It should be possible to configure or at even make the default encoding to utf-8.

@mbailey
Copy link
Owner

mbailey commented Dec 23, 2009

PDI

@andriusch
Copy link
Author

which means?

@mbailey
Copy link
Owner

mbailey commented Dec 23, 2009

Please Do Investigate

@andriusch
Copy link
Author

For mysql this needs to be added to my.cnf:

  [mysqld]
  character-set-server=utf8
  default-collation=utf8_unicode_ci

It would also make sense to make mysql client use utf-8 with this:

  [client]
  default-character-set=utf8

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants