> There is no magic here, it's just a 2-bytes in length which remains
> unchanged regardless of the codepages used. The thing which changes is
> just its mere appearance: it'll appear as 2 (strange looking)
> characters in (single-byte) codepages while it'll appear as 1
> character in (double-byte character supporting) codepages.

BTW, alphanumerics are still single-byte characters even in CJK. So,
the name multibyte:

MultiByte = SingleByte + DoubleByte

> 한글

Hmm, I neglected the web encoding... I think the above are just
(unicode) code-points, so, I don't know how they appear in other
codepages, as two or four characters. Probably as 2 unknown characters.

To be precise, if I save the above as text file in Korean codepage
(949), then it'll appear as 2 Korean characters consisting of 4 bytes.
The hex value of the bytes are: B1 DB C7 D1

If I open the above text file after switching the codepage from 949 to
1252, then it'll appear as 4 (strange-looking single-byte) characters,
corresponding to the same hex values B1 DB C7 D1.

Sean

Reply via email to