This snippet:
<p className="introduction">{React.string("Hi! 👋")}</p>
is shown as
Hi! ð
Ideas…?
The correct header is set.
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
This snippet:
<p className="introduction">{React.string("Hi! 👋")}</p>
is shown as
Hi! ð
Ideas…?
The correct header is set.
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
For now, use backticks for UTF-8 strings:
<p className="introduction"> {React.string(`Hi! 👋`)} </p>
The upcoming ReScript v10 will fix this thankfully.
Cool, thanks. I thought I tried backtick, but maybe I was confused and put the Unicode number in backtick instead.