Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use utf8mb4 in mysql examples #313

Merged
merged 1 commit into from
Mar 14, 2021

Conversation

lboynton
Copy link
Contributor

Description

I thought it would be good to use the proper UTF8 encoding in the MySQL examples, just to educate people who may not be aware that MySQL's utf8 only stores 3 bytes per char so is not proper utf8. utf8mb4 is the proper UTF8 encoding to use in MySQL.

Motivation and Context

Just to help maybe one or two people who may end up using the utf8 encoding by mistake.

Breaking Changes

None

How Has This Been Tested?

I use this in my own terraform code.

utf8 only stores 3 bytes per char so is not proper utf8, utf8mb4 is the proper encoding to use in mysql
Copy link
Member

@bryantbiggs bryantbiggs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah yes, good ol MySQL where utf8 is not utf8! thanks @lboynton - @antonbabenko 👍🏼

@antonbabenko antonbabenko merged commit 1cff776 into terraform-aws-modules:master Mar 14, 2021
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants