Url manager rules for non English characters

Hello,

I want to migrate from Drupal to Yii,

I should convert the mechanism of taxonomy/term of Drupal to Yii,anyway

I should handle the url which is in Persian Language

sample:




myyiisite.com/دسته-بندی-مشاغل/خودرو



I denfined this rule for handle it in main.php file in config folder-(url manager)




			'rules'=>array(

				'<action:[^(gii)]\w+>'=>'site/<action>',

				'<controller:node>/<id:\d+>'=>'node/index',

				'<controller:\w+>/<id:\d+>'=>'<controller>/view',

				'<controller:\w+>/<action:\w+>/<id:\d+>'=>'<controller>/<action>',

				'<controller:\w+>/<action:\w+>'=>'<controller>/<action>',

				'<controller:([آابپتسجچحخدذرزسشصضطظعغفقکگلمنوهی]+\-?)*[\S]$>/<action:([آابپتسجچحخدذرزسشصضطظعغفقکگلمنوهی]+\-?)*[\S]$'=>'urldb/index', //this line is for handle such url

			),



I try this also:




<controller:\W+>'=>'urldb/index',



also I reorder the rule line,

and test too many regex condition but still not worked!

my htaccess file:




RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . index.php

<ifModule mod_headers.c>

Header set Connection keep-alive

</ifModule>



Thanks

Finally It fixed

Thats because of regex in rules that doesnt match the requested url althogh I tested all regexes I used,anyway.