I'm actually facing an issue with Japanese characters. Let me explain. My users will be mostly japanese, they will then write their article in Japanese.
First problem is, the slug generation. I'm actually doing it : http://pastie.org/7672396
When this is working well for alphanumeric characters, it does not remove any space for Japanese characters.
Then, the routes. At the very beginning, I'd wrote my routes as it : http://pastie.org/7672416
But in order to make it match with the japanese slug, I did it : http://pastie.org/7672431
This works fine since my router can now understand what I'm passing and then generate a good link. But, and this is actually my problem,
when I'm trying to access the article on http://my-site.com/blog/brandname/鎌倉祇園山ハイキングコース
I'm getting an Error: BlogController could not be found.
Does anyone already had the same issue?
Thanks a lot for your help
-- Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment