Created
December 5, 2022 19:53
-
-
Save yaauie/1a4018fb51dcd6a60d6926f3c24a3ba5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
literal: π | |
u-encoded: \u001c\u{1F44D} | |
inspected: "\u001Cπ" | |
dumped: "\x1C\u{1F44D}" | |
json-encoced: "\u001cπ" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running the above through three outputs with different codecs (line, json_lines, rubydebug), we see that both non-printing characters and multibyte unicode characters make it through as-provided.