amate / Proxydomo

ローカルで動作するプロクシフィルタリングソフトです
http://www31.atwiki.jp/lafe/pages/37.html
GNU General Public License v2.0
73 stars 12 forks source link

Proxydomo how to filter some Asian characters #49

Closed moonlune closed 7 years ago

moonlune commented 7 years ago

I would like to know Proxydomo how to filter some Asian characters, such as Japanese, Chinese ... Older versions can be filtered directly, but now even if the rules are correct, there is no effect! Thank you!

amate commented 7 years ago

I can filter by using the following filter in my environment.

[Patterns]
Name = "new filter"
Version = ""
Author = ""
Comment = ""
Active = TRUE
Multi = FALSE
URL = ""
Bounds = ""
Limit = 256
Match = "日本語"
Replace = "英語"

https://ja.wikipedia.org/wiki/日本語 default

Could you give me an example?

moonlune commented 7 years ago

[Patterns] Name = "new filter" Version = "" Author = "" Comment = "" Active = TRUE Multi = FALSE URL = "" Bounds = "" Limit = 256 Match = "日本語" Replace = "英語" https://ja.wikipedia.org/wiki/日本語 I have used the above rules to test the link,and tested several coded pages.In the above link, because the page uses the "UTF-8" encoding, there is no effect! But for the use of "GB2312" encoded web pages, rules effective!I guess it is caused by the language setting of the operating system? http://www.guoxue.com/shibu/24shi/sangzz/sgzz_001.htm

amate commented 7 years ago

Proxydomo convert from the character code of the original web page to UTF16 before filtering the web page. Have you enabled SSL/TLS filtering? Please check the box of web filter debug in the log window and open the following URL. https://ja.wikipedia.org/wiki/日本語

moonlune commented 7 years ago

Thank you very much, the problem has been solved! The reason is that my proxydomo not enabled SSL / TLS filtering, and there is a rule not allow multiple matches. Has been was tested in the "yahoo.co.jp" , the performance is perfect. Thank you for your help!