Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Character set should be utf8mb4 #6169

Open
Download opened this issue Jun 15, 2015 · 2 comments
Open

Character set should be utf8mb4 #6169

Download opened this issue Jun 15, 2015 · 2 comments

Comments

@Download
Copy link

I notice when I use the Openshift MySQL cartridge, that the character set is set to utf8. This is understandable as MySQL really made a mess here, but it really should be utf8mb4 as the utf8 that MySQL talks about is really a MySQL utf8...

Real utf8 has max. 4 bytes per character
MySQL utf8 has only 3 bytes per character and can't encode all of Unicode

If you want full Unicode support (and who doesn't) you should set the character set to utf8mb4 in MySQL.

@Download
Copy link
Author

I found this cartridge:

openshift-origin-cartridge-mysql-utf8mb4

So it looks like someone already worked on this... Maybe you can use that?

@Download
Copy link
Author

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

No branches or pull requests

3 participants