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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emoji support #53

arpit opened this issue Apr 27, 2019 · 0 comments


None yet
1 participant
Copy link

commented Apr 27, 2019

Current parser crashes when trying to load a yaml document with emojis in it.

    var emoji = "馃槂";
    String s = "YAML:  ${emoji} YAML Ain't Markup Language";
    var doc = loadYaml(s);


Error on line 1, column 8: Unexpected character.
1 鈹 YAML:  馃槂 YAML Ain't Markup Language
  鈹        ^

package:yaml/src/parser.dart 50:7    Parser.parse
package:yaml/src/loader.dart 165:37  Loader._loadMapping
package:yaml/src/loader.dart 86:16   Loader._loadNode
package:yaml/src/loader.dart 62:20   Loader._loadDocument
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can鈥檛 perform that action at this time.