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
However, right now there's a difference between external (bindings) and internal (written in ReScript) tagged template functions, where externals emit the tagged template syntax, but the internal ones are treated like regular functions. cc @tsnobip
hmm shoot, this is quite surprising given all strings in rescript should now be in unicode. Given the original PR was quite old, maybe it reused some out-of-date logic around strings.
Tagged templates seem to format special characters erroneously, for example
“
gets compiled into\xe2\x80\x9c
which gets parsed/printed/shown as�
Example playground file:
https://rescript-lang.org/try?version=v11.1.0&code=DYUwLgBCAeELwQBQGcwCcCWA7A5sgNBAPoCUAXBKprvAHwQDeAUBBAFLIB0AgmmgIYBPTgCsA9tgDqGMAAtEAIgWEq2PCSYBfJkwDCYrMjGhOwMTkQMYAA0A4BNc0kgA
Rescript version:
v11.1.0
The text was updated successfully, but these errors were encountered: