decoding problem of received browsehost response file Hi guys,
i am a newbee who wants to write a gnutella client in java.I`ve implemented webcache,X-try and connection side s of client, but when i want to browse host, i cant decode the file responded from host, i can read sha1s` and file names from that file but there is weird characters among file names and sha1-keys.I tried to decode it into UTF8, all ISO-XXXX-x, also into UTF16.But noway, i couldnt decode into right format which i can extract the right filenames and sha1-keys from file.I`ve also tried to find the solution from limewire`s source codes, but it is still confusing for me to solve the codes.Any idea would be really appreciated.. (i attached a screenshot while executing browshost query-response,problem can be understood from screenshot) |