Hi,

Don't know if anyone of you ever met this situation before. I want to
use nickname of user in the URL, so that system will retrieve their
info to update or view

This is what I used in routing,

user:
  class: sfPropelRouteCollection
  options:  { model: Users, column: nick_name,
prefix_path: /:sf_culture/user, method: retrieveByNickName }
  requirements: { nick_name: \w+ }

The actual link is

http://localhost:81/frontend_dev.php/en/user/用户名/edit

Here I used Chinese characters in the link

They I always got error

Action "en/user" does not exist.

But If I use english username, then it works fine.

So why I can not use Chinese characters in the URL, and why symfony
can not recognize the Chinese characters in the URL?



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to