You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reading a literal (non-escaped) emoji doesn't work when reading from a file with mode 'rb' #115
Ran into this as well. The binary reader decodes symbol text byte by byte instead of as UTF-8, so non-ASCII symbols come out mangled in 'rb' mode while 'r' mode reads them fine. Making the binary path decode symbol text as UTF-8 makes both modes consistent. Happy to open a PR with a fix and regression tests if there is interest.
Activity
abhinavs1920 commentedon Oct 17, 2026
Ran into this as well. The binary reader decodes symbol text byte by byte instead of as UTF-8, so non-ASCII symbols come out mangled in 'rb' mode while 'r' mode reads them fine. Making the binary path decode symbol text as UTF-8 makes both modes consistent. Happy to open a PR with a fix and regression tests if there is interest.