Re: [gui-dev] LimeWire 4.2.3 international font display patch
"Philippe Verdy" <[email protected]> Sat, 27 Nov 2004 22:37:16 +0100
| Newsgroups | gmane.network.gnutella.limewire.gui.devel |
|---|---|
| Message-ID | <[email protected]> |
Not necessarily: you can normalize filenames read from filesystems so that they will be shared easily with Windows or Unic users, and this won't prevent other mac users to get access to these files, or to read these filenames . On the opposite, it is the fact that we keep the denormalized filenames read from Mac HFS+ filesystems that causes interoperability problems with other users (this causes no problem only for Mac users, that won't see the difference if they now receive normalized filenames from Windows/Linux or from corrected Mac versions...) So there's no need to normalize queries or results in Gnutella, only when reading files from local shared directories... Normalizing incoming results would only help reading these results on non MacOS systems. And of course we should not normalize queries during query matching, but instead assume that all files accessible on Gnutella are normalized preferably in NFC form, as well as all sent queries and results... The only case where we will need normalization is when those strings are FIRST generated: - on user input within search forms, this is the keyboard driver that normaly generates precomposed forms, but if not sure, we could normalize the user input string before processing. - when reading or writing files, we can directly use filenames in NFC form on all filesystem types, including HFS+! - when reading directories the entries should already be in NFC form, except on MacOS HFS+ where it will be extremely useful to reconvert these denormalized strings back to NFC before processing and inclusion in our shared library list. So no need to modify the query routing/matching algorithms whose performance are already critical... ----- Original Message ----- From: "Sam Berlin" <[email protected]> To: <[email protected]> Sent: Saturday, November 27, 2004 10:16 PM Subject: RE: [gui-dev] LimeWire 4.2.3 international font display patch > Hi Philippe, > > Performing the normalization will indeed fix things for the future. > Unfortunately, there's a ton of existing clients out there that aren't > sending correctly formatted results. To display those properly, > normalization would indeed need to be done on every incoming result. _______________________________________________ gui-dev mailing list [email protected] http://www.limewire.org/mailman/listinfo/gui-dev