From: Andrew West (firstname.lastname@example.org)
Date: Mon Jan 08 2007 - 10:19:50 CST
On 08/01/07, Andrew West <email@example.com> wrote:
> On 08/01/07, Doug Ewell <firstname.lastname@example.org> wrote:
> > 2297277 decimal is 230DBD hex, so I don't yet see where <FEFF, E083,
> > DDBD> would come from.
> The FEFF is a red herring. Firefox isn't the only application to do
> this. BabelPad converts both � and � to <U+E083,
> U+DDBD>, though I can't work out why.
The code converts 2297277 to UTF-16 with a check for ( ch > 0xFFFF ),
and as 2297277 is greater than 0xFFFF it tries to get a surrogate pair
from the number, and it ends up with <U+E083, U+DDBD>.
This archive was generated by hypermail 2.1.5 : Thu Jan 18 2007 - 15:55:40 CST