Skip to content

Psych.dump convert emoji characters into unicode #371

@neumayr

Description

@neumayr

Hey! 🙌

The origin of this issue is i18n-tasks which delegates YAML dumping to this library.

I've spotted that i18n-tasks normalize converts emoji characters into unicode which makes them much harder to read and change afterward. IMHO, this should be necessary because yaml is capable to understand plain emoji chars. What do you think about this one?

Before
lang:
  de-de: 🇩🇪 German
  en-uk: 🇺🇸 English
  header: 🌐 Select Language
After i18n-tasks normalize / Psych.dump
lang:
  de-de: "\U0001F1E9\U0001F1EA German"
  en-uk: "\U0001F1FA\U0001F1F8 English"
  header: "\U0001F310 Select Language"

Converter tool

✨ Please let emojis live in yaml files. 💙 💚 💛 💜


Note This issue was moved from glebm/i18n-tasks#291

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions