Forum

Results 1 to 2 of 2
  1. #1
    Join Date
    January 2009
    Location
    Moscow
    Posts
    29

    Unhappy Ban and Russian letters.

    Server Version: 3.0.0-rc1 [Build: 13991] on Windows

    I wanted to ban Russian letters in the names and I came across 2 errors.
    The first error is described here

    The second very strange.
    I enter: (I wrote the alphabet in the Russian layout.)
    Code:
    .*[АаБбВвГгДдЕеЕеЖжЗзИиЙйКкЛлМмНнОоПпРрСсТтУуФфХхЦцЧчШшЩщЪъЫыЬьЭэЮюЯя].*
    and bans these people.
    Code:
    <20:05:12> "UTYG2142" was banned permanently from the server by "KrabKley" 
    <20:05:12> "gron10" was banned permanently from the server by "KrabKley" 
    <20:05:12> "EV0Q" was banned permanently from the server by "KrabKley" 
    <20:05:12> "alpinkaŠ" was banned permanently from the server by "KrabKley" 
    <20:05:12> "kostyan586" was banned permanently from the server by "KrabKley"
    Next, I'm trying to understand why it happens.
    I enter the code .* [Йй] .* and banned these people:
    Code:
    <20:48:38> "kostyan586" was banned permanently from the server by "KrabKley"
    <20:48:38> "EV0Q" was banned permanently from the server by "KrabKley"
    These nicknames do not have these letters.

    next i enter the code .* [й] .* and banned these people:
    Code:
     <20:54:36> "kostyan586" was banned permanently from the server by "KrabKley"
     <20:54:36> "EV0Q" was banned permanently from the server by "KrabKley"
    In the nick "EV0Q" Well does not Russian letter "й"

    next i enter the code .* [Й] .* and throws
    Code:
    <20:55:27> "EV0Q" was banned permanently from the server by "KrabKley"
    Something does not work correctly.

  2. #2
    Join Date
    July 2002
    Location
    Germany
    Posts
    2,192
    Hi,

    the regular expressions we use are not unicode aware so you should not use non ascii characters in a "[]" list. What you can do is something like:
    .*(Й|й).*
    To ban all people with that reverse N in their name.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Do not receive letters
    By Mahitoo in forum Off Topic
    Replies: 5
    Last Post: January 6th, 2014, 09:12 PM
  2. [Fixed] Thai Letters in Channelname
    By Dark-Angel in forum Client Support
    Replies: 4
    Last Post: May 10th, 2010, 07:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •