Sam Mason wrote:
> Are you sure that this handling of surrogates is correct? The best
> answer I've managed to find on the Unicode consortium's site is:
>
> http://unicode.org/faq/utf_bom.html#utf16-7
>
> it says:
>
> They are invalid in interchange, but may be freely used internal to an
> implementation.
>
It says that about non-characters, not about the use of surrogate pairs,
unless I am misreading it.
cheers
andrew