是不是我的软件版本问题,怎么都是怪事。
规则就是下面的这样,SexUrlKey里面有两个词:“变态” “test” 英文正常,中文不行。Blockfile有什么特定的写法吗?
Code: Select all
[Patterns]
Name = "ad"
Active = TRUE
Bounds = "$NEST(<a*>,</a>)"
Limit = 512
Match = "<a*>*$LST(SexUrlKey)*</a>"
Replace = "www"
Moderator: cre
Code: Select all
[Patterns]
Name = "ad"
Active = TRUE
Bounds = "$NEST(<a*>,</a>)"
Limit = 512
Match = "<a*>*$LST(SexUrlKey)*</a>"
Replace = "www"
Code: Select all
[Patterns]
Name = "ad"
Active = TRUE
Bounds = "$NEST(<a*>,</a>)"
Limit = 512
Match = "$LST(ph_ForTest)"
Replace = "www"
*test*
*变态*
找到原因了,重启计算机之后,在gb2312页面里可以,utf-8页面不行。比如google就是u,百度和搜狗是gb。因为一直用google,所以···vvmao wrote:谢谢回复,不过这个方法我试过了,对字母可以过滤,汉字不行。你那里测试过吗?
会不会是Blocklists文件编码需要特别设置?