You are here:  » Cyrillic Support in Category Creation

Support Forum



Cyrillic Support in Category Creation

Submitted by joint on Thu, 2007-11-22 22:59 in

Hello David,

When I tried to create a Category using Cyrillic letters - I've got recieved ERROR_Message saying:
'category name contains invalid characters'
Also, I tried using UTF-8 Unicode for Russian word as 'Computers' like: Компьютеры
and the same ERROR_Message appears.
Is it possible to drop me ideas where to look the settings/code, so to fix that issue and use Cyrillic letters for the site?

Submitted by support on Thu, 2007-11-22 23:08

Hi,

The characters are being blocked by this code starting at line 16 of admin/categories.php:

      if(!ereg("^[0-9a-zA-Z\. ]{0,255}$",widget_posted($_POST["name"])))
      {
        widget_errorSet("name","category name contains invalid characters");
      }

If you delete this code you will then be able to enter the full UTF-8 character set...

Cheers,
David.