[bittorrent] BEncodedDictionary must have ordered keys... what definition of "ordered"?

Alan McGovern alan.mcgovern at gmail.com
Wed Oct 25 12:25:53 EDT 2006


Hi,

Basically i've encountered a rather worrying problem with a .torrent file
created by BitComet 0.7. It has the following keys in the main dictionary in
the following order:

publisher-url.utf-8
publisher.utf-8

Now, the problem is that the MS.NET framework defines that to be in
non-alphabetical order as according to the String.Compare method in it, '-'
should come after '.' So, which is right, .NET or BitComet? Also, there must
be a standardised way of deciding which letters come before which that we
can compare against. Anyone know where to find such a list?


Thanks,
Alan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ibiblio.org/pipermail/bittorrent/attachments/20061025/3e8cb997/attachment.html 


More information about the BitTorrent mailing list