Gnutella Forums

Gnutella Forums (http://www.gnutellaforums.com/)
-   General Discussion (http://www.gnutellaforums.com/general-discussion/)
-   -   How to search result in Chinese??? (http://www.gnutellaforums.com/general-discussion/60810-how-search-result-chinese.html)

cxieqi September 2nd, 2006 05:27 PM

How to search result in Chinese???
 
How to search result in Chinese???

I use the src in Eclipse,I want to modi the code,because i want to rearch result in Chinese?what I can do?

GregorK September 3rd, 2006 02:31 AM

There are 4 main things you need to make sure of:

* Make sure Phex accepts Chinese characters in the search term text field. You might need to adjust fonts or have a special JDK or whatever, I dont know exactly.
* Then you need to ensure your text is formatted correctly in UTF8 in the send QueryMsg. I think this is already done, but I never had confirmation about it.
* Now make sure Phex is correctly parsing the formatted data in the returned QueryHitMsg.
* The last thing is to ensure the text is properly displayed in the user interface.

Personally I would start from the end, first ensure you can receive and display query hits and then send out querys. It might be best to test in a local environment with a client that has this already working like maybe Limewire.

cxieqi September 3rd, 2006 02:49 AM

I mean that i want to connect chinese user only that Using Phex.And not to connect Foreign.

What Can i do?

GregorK September 3rd, 2006 02:57 AM

sorry... my fault... I should read the text before I post ;)

The class Ip2CountryManager is able to tell you the country code of a given IP. Check every IP that gets added to the CaughtHostsContainer and that you connect to if its 'CN'

cxieqi September 3rd, 2006 07:10 AM

I will wait for you to tell me what can i do? ^_^

Please remember:I want to connect Chinese People only who is using Phex!!!

my MSN (porter_mysec@hotmail.com) can you add me to your friend?

arne_bab September 4th, 2006 10:53 PM

How about simply creating a subnet for china?

What is your exact goal? Do you want to connect many same-minded people in china with Phex, or do you want your Phex to only connect to chinese Phex users?

What are your skills?

The simplest way for the first goal is just to create a private network with the name "Chinese Gnutella Network" and to set up a public first contact.

cxieqi September 6th, 2006 06:02 AM

i want my phex to only connect to chinese phex users.

Lord of the Rings September 6th, 2006 06:10 AM

Didn't you click on his 'create a private network' link which has a good explanation of how to do it?

arne_bab September 6th, 2006 09:38 AM

It only works, if he/she already knows other chinese people.

Do you want to connect to your community of chinese buddies, or do you want to connect to other chinese using phex, whom you do not already know?

(Sorry, that we have to ask that many questions, but it sdoes make a huge difference, and we'd only confuse you to no end, if we try to explain a something you didn't really ask about).

Lord of the Rings September 6th, 2006 10:10 AM

My misunderstanding. 您 要 连接 以 朋友们 或 汉语 ___ 您 要 作 什么 :redface:


All times are GMT -7. The time now is 12:36 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2022, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright 2020 Gnutella Forums.
All Rights Reserved.