Emoji is changed to Unicode in yaml
Author: zydouCreated Oct 18, 2024Updated Oct 31, 2024
Labelsbug
Describe the bug Emoji is changed to Unicode in yaml
To Reproduce
$ cat flag.json
{
"US": "",
"CN": ""
}
$ dasel -f flag.json -w yaml
US: "\U0001F1FA\U0001F1F8"
CN: "\U0001F1E8\U0001F1F3"
$ dasel -f flag.json -w toml
CN = ''
US = ''Expected behavior Emoji remains unchanged in yaml
Desktop (please complete the following information):
- OS: Ubuntu 24.04
- Version: v2.8.1
- Terminal: Wezterm 20240203-110809-5046fc22
Source: TomWright/dasel