-
Notifications
You must be signed in to change notification settings - Fork 205
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
Psych.dump convert emoji characters into unicode #371
Comments
Hi, has there been any progress made on this? |
Upvote for having emojis in yaml files. It's 2020, emojis are basically everywhere. Would be nice to have this supported. |
12 tasks
It's 2021, emojis rule the world. data.to_yaml.gsub(/\\u[\da-f]{8}/i) { |m| [m[-8..].to_i(16)].pack("U") } |
ghost
mentioned this issue
Mar 22, 2022
FYI, happens with some emoji like 🔧, but not others. Thanks for the fix @bibendi ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey! 🙌
The origin of this issue is
i18n-tasks
which delegates YAML dumping to this library.Before
After
i18n-tasks normalize
/Psych.dump
Converter tool
✨ Please let emojis live in
yaml
files. 💙 💚 💛 💜Note This issue was moved from glebm/i18n-tasks#291
The text was updated successfully, but these errors were encountered: