Skip to content

Not work with non latin characters #48

@vneznaikin

Description

@vneznaikin

Not work with non latin characters coz Text is sanitized and Badwords is not!
Str::removeAccent() convert all spec characters to latin, but dictionaries still with it...

If change in Str.php
$needle = preg_quote($needle);
to
$needle = Str::removeAccent(preg_quote($needle));
it seems to work
check it!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions