[Companion] Another new test version

Brian Kennelly mozdev at bkennelly.net
Thu Dec 16 14:43:57 EST 2004


I fixed a problem that did not allow bookmarks to be added to the root 
bookmark menu, and posted it to bug #8253.  This appears to be an old 
bug, but does not appear with western languages.


Brian Kennelly wrote:

>
> I just posted a new test version (0.5.5.20041213) as an attachment 
> <http://mozdev.org/bugs/attachment.cgi?id=2452&action=view>to bug 
> #8253 <http://mozdev.org/bugs/show_bug.cgi?id=8253>.  It will be most 
> useful for Chinese language users.
>
> The only thing changed from 0.5.5.20041207 is the way bookmark titles 
> are sent on an 'Add Bookmark...' request.  The bookmark title is 
> translated from unicode to the NLS character set detected in the 
> feed.  Previously, characters outside the Latin-1 character set were 
> escaped as %uXXXX, and Yahoo! stored and displayed them that way, and 
> they were displayed that way in the IE toolbar.  The Mozilla toolbar 
> used 'unescape()' to display the original characters.  With this 
> version, the bookmark titles should display correctly in both toolbars 
> and the Yahoo! bookmark pages.
>
> One disadvantage to the change is that only characters displayable in 
> the users normal character set can be saved in bookmarks.  Another is 
> that the displayed characters will be incorrect if the users change 
> their language or locale preference on Yahoo!
>
> Interestingly, the IE toolbar often uses the URL, rather than the 
> title, if the title contains non-Latin characters.
> Do you have an opinion about which behaviour we should use going 
> forward if the page title contains characters outside the ISO-8859-1 
> character set?
>
>   1. Save the titles as 'unicode escapes'
>         1. Portable across language and locale settings
>         2. Only displays correctly in Mozilla/Firefox toolbar
>   2. Save the titles in NLS
>         1. Language/locale specific
>         2. Displays correctly in both toolbars and on Yahoo! bookmark 
> pages
>   3. Save the titles in UTF-8
>         1. Portable across languages and locales
>         2. Could be displayed correctly in Mozilla toolbar and browser
>            pages, but not in IE toolbar
>   4. Save the URL as the title (truncate to NN characters?)
>         1. Portable across languages
>         2. Displays correctly in both toolbars and on Yahoo! bookmark 
> pages
>         3. Less descriptive than the title
>   5. Some other scheme?
>
>



More information about the Companion mailing list