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
With the current version of Haste, the 𝔹 loses its 17th bit:
{-# LANGUAGE StaticPointers, OverloadedStrings #-}
import Haste.App.Simple
import qualified Haste.JSString as JSS
main = runSimpleApp $ do
p <- newElem "p"
t <- newTextElem (JSS.pack $ "The set of Booleans is written 𝔹.")
setChildren p [t]
appendChild documentBody p
The resulting page shows:
The set of Booleans is written 픹.
𝔹 is codepoint 0x1d539, and 픹 is codepoint 0xd539.
The text was updated successfully, but these errors were encountered:
With the current version of Haste, the
𝔹
loses its 17th bit:The resulting page shows:
𝔹
is codepoint 0x1d539, and픹
is codepoint 0xd539.The text was updated successfully, but these errors were encountered: