[MLton] Unicode / WideChar

Adam Goode adam@evdebs.org
Mon, 21 Nov 2005 15:43:18 -0500


--=-mPIsNfRNqiAuZqUnSOS0
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2005-11-21 at 13:06 +0100, Wesley W. Terpstra wrote:
> ...                                             Also, the
> String2 is UCS2, not UTF-16. That means if you try to put
> in a character that is > 65536, you get exception Chr. ...

Question: why is String2 not UTF-16? Is this specified somehow in the
basis? Is it like this:

  String1  =3D ASCII
  String2  =3D BMP (Unicode Plane 0)
  String4  =3D Full Unicode

Just wondering...


Thanks,

Adam



--=-mPIsNfRNqiAuZqUnSOS0
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBDgjFmlenB4PQRJawRAthVAKDHYymfkKEpQ/B1TbXfaYEg8xYfTQCaAgn/
yEFOr3mSv+gzVXEPBY4Qh80=
=wrXA
-----END PGP SIGNATURE-----

--=-mPIsNfRNqiAuZqUnSOS0--