[21644] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: Mozilla

daemon@ATHENA.MIT.EDU (Robert A Basch)
Thu Mar 20 14:12:54 2003

Date: Thu, 20 Mar 2003 14:10:40 -0500
Message-Id: <200303201910.OAA06691@abulia.mit.edu>
From: Robert A Basch <rbasch@MIT.EDU>
To: Garry Zacheiss <zacheiss@mit.edu>
CC: John Hawkinson <jhawk@mit.edu>, Camilla R Fox <cfox@mit.edu>, bugs@mit.edu,
        rbasch@mit.edu
In-reply-to: "[21611] in Athena Bugs"

>    The real problem is with history.dat, which stores pages titles in an
> endian-dependant fashion.

I looked into this, and believe I have found the problem.  As you
suggest, the title is written as a string of Unicode (16-bit)
characters, with no byte order marker, so that the character codes are
byte-reversed when read on an other-endian platform.  I am working on
a patch which will fix this by including and detecting a byte order
marker as part of the title string.  I will submit this to Mozilla's
bugzilla entry for the bug, and then, depending on their response (if
any), to source-reviewers.

Bob

home help back first fref pref prev next nref lref last post