Got to URL. Do a Bookmarks|Add Current Page. Open Bookmarks|Manage Bookmarks..., and for the title you will see Netcenter ýÖýæý¤ý±ý» The second word should be in Japanese.
The tree code contains no drawing code. It is just an extension of the table code. This is either a problem with the bookmarks parser and/or the way RDF is storing the bookmark information, or it's a problem with Gecko's text-drawing code. Reassigning to waterson.
*** Bug 5307 has been marked as a duplicate of this bug. ***
You can use US NT. That's what I have. You can use the Bitstream Cyberbit or CyberCJK fonts: ftp://ftp.netscape.com/pub/communicator/extras/fonts/windows/Cyberbit.ZIP ftp://ftp.netscape.com/pub/communicator/extras/fonts/windows/CyberCJK.ZIP You just need to install them because the GFX font sub-system will find them. Also, if you have IE and the IE Japanese language pack installed, Communicator can use those Japanese fonts. Let me (or anyone in I18N) know, if you need help locating these.
FWIW, I notice that we get the same bizarre characters in the window title, as well.
Okay there are two problems here: 1. The bookmarks stuff was using "char" instead of "PRUnichar" in the interfaces. I've fixed that, and can check it in. But even after applying that fix... 2. The sidebar (and bookmarks) CSS is not using a font that can display Japanese characters: in the debugger, I can force the "variables" display to use MS Gothic and see that the correct Japanese characters are, in fact, in memory. Anyway, I should check in (1) above, but I'm not sure the right way to go about (2).
Chris, if you haven't checked in your fix, please send me (erik) the diff. Thx.
Okay, the code fix is in. Update rdf/datasource/public/nsIBookmarkDataSource.h rdf/datasource/src/nsBookmarkDataSource.cpp xpfe/AppCores/src/nsRDFCore.cpp
chofmann - I don't think this is really fixed. I think erik needs to do some magic to the style sheets first.
Re-opened: I don't believe this is fixed.
I tried it with www.netscape.com/ja, and at first it didn't work, but then I remembered that that page has a META charset, and Seamonkey currently requires the user to hit Reload to get the first block of the document to be converted to Unicode properly. The TITLE (used for bookmark) is in the first block. So I hit Reload, added the bookmark, and Presto! it worked. Marking FIXED.
verified on Windows NT 4.0 sp4 - 1999-05-03-08 RedHat Linux 5.2 i386 - 1999-05-03-08 MacOS 8.51 ppc - 1999-05-03-08
why was this reopened?
Sorta works, but it does not seem to save the bookmark info correctly. After you "Add Current Page", it looks correct in both the "Manage Bookmarks..." dialog and the sidebar. But after you quit and relaunch, it looks like garbage. This is true for Latin1 too. Try it with: http://home.netscape.com/es/index.html (title: Netscape América Latina) FYI, if you look at res/rdf/bookmarks.html, the file has been saved as Latin1 and not as UTF-8. Since RDF should expect UTF-8, this may have something to do with the problem? I think we can live with this until M6. (We should include some Latin1 8-bit and Japanese chars in all sidebar examples, not just bookmarks.)
moving the rest of this to m6. let me know if the changes are ready today for m5. it also ought to be reassinged if erik is now working on it.
Oh you want SAVE bookmarks to, eh? What do you think this is? A web browser? Seriously though, we do have issues with serialization that we need help with: I think they are beyond the scope of M5. I've opened 5871 to track that, milestone M6.
Changed back to RESOLVED/FIXED. Follow-up remaining issues in 5871.
verified on Windows NT 4.0 sp4 - 1999-05-04-08 RedHat Linux 5.2 i386 - 1999-05-04-08 MacOS 8.51 ppc - 1999-05-04-08