Because of the frequent spam from China, I have now written some code which refuses any posts which contain more than a certain number of Chinese characters. Since regular posts must be in English or one of the other official board languages, this should be no problem.
Posting single file names in Chinese like 中国.txt (e.g. for bug reports) will not be blocked. Users who post too many Chinese characters will get an error dialog, but will not be banned automatically.
New board function against Chinese spam
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50937
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
New board function against Chinese spam
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Looks like the Borg adapted quickly and switched to Cyrillic. 

- ghisler(Author)
- Site Admin
- Posts: 50937
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Well, I could forbid Cyrillic too, what do you think? It would just be small change to the regular expressions...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- Vochomurka
- Power Member
- Posts: 816
- Joined: 2005-09-14, 22:19 UTC
- Location: Russia
- Contact:
2ghisler(Author)
Please take into account that Russian spam messages are often written in different encodings. Can regular expressions recognise all of them?
Please take into account that Russian spam messages are often written in different encodings. Can regular expressions recognise all of them?
Single user license #329241
PowerPro scripts for Total Commander
PowerPro scripts for Total Commander
- ghisler(Author)
- Site Admin
- Posts: 50937
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I haven't checked that yet - for Chinese, I always get codes in the form #$1234; which I convert to UTF-8 and then apply the regular expressions.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com