>In doing Kanji support for our WWW browser, I had to add code to handle
>two-byte characters in attribute value literals (mainly "ALT" for images,
Did you run into cases where the GI's were in zenkaku (full-width
characters)? That seems like another likely case, as does full-width
*spaces* in the markup (very high probability).