Comments (5)
possibly a locale issue,
:~$ locale -a
C
C.UTF-8
en_US.utf8
POSIX
link for future reference: https://serverfault.com/questions/54591/how-to-install-change-locale-on-debian
from filterplus.
using /blacklist insert converts to utf with escape: \"\u0441\u043f\u0430\u0441\u0438\u0431\u043e\"
the word спасибо
is not detected from chat
modifying the mod_storage entry from escaped string to the exact word, it is automatically converted from спасибо
to \"\u0441\u043f\u0430\u0441\u0438\u0431\u043e\"
during serialization
also tried with letters such as ç
with no difference
from filterplus.
adding to init.lua:
if word == "спасибо" then
print("detected спасибо")
end
is successful:
detected спасибо
2024-02-04 01:41:24: ACTION[Server]: monk issued command: спасибо
from filterplus.
from filterplus.
changing line 147 to character class set works on minetestserver 5.9.0-dev, as well as multicraftserver 2.0.6
local word = gsub(lower(try_word), "[%p%c]", "")
./minetestserver --version
Minetest 5.9.0-dev (Linux)
Using LuaJIT 2.1.0-beta3
Running on Linux/6.1.0-9-amd64 x86_64
BUILD_TYPE=Release
./multicraftserver --version
MultiCraft 2.0.6 (Linux)
Using LuaJIT 2.1.0-beta3
BUILD_TYPE=Release
from filterplus.
Related Issues (13)
- not lowering case when message exceeds max_caps HOT 1
- mention highlight doesn't work if capitalisation is not the same as playername HOT 1
- sending empty messages HOT 3
- bad privilege check for blacklist command HOT 1
- add ability to ignore public chat or individual players
- add blacklist dump from modstorage
- additional check for evasion technique HOT 1
- invalid use of '%' in replacement string HOT 1
- name mentioning doesn't highlight if caps
- change load/save from mod_storage
- Adding words containing non-ASCII to filter lists by command
- weird censoring bug HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from filterplus.