adrianmak Posted June 27, 2017 Share Posted June 27, 2017 On 5/8/2017 at 11:28 AM, Gideon So said: Hi, I don't think this is a good way to do it either. Seems other CMSs get a more simple way. Gideon I'm using processwire and CI too to build site for client. In CI way, it has permitted_char config for allowed char in url too, but CI could accept a utf-8 code range in the config something like $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-\x{4e00}-\x{9fa5}'; I found this information from a chinese post to solve utf-8 url in CIhttp://codeigniter.org.cn/forums/thread-20990-1-1.html I suggest @ryan should reference the CI way for processwire to handle UTF-8 url Link to comment Share on other sites More sharing options...
cstevensjr Posted June 27, 2017 Share Posted June 27, 2017 2 hours ago, adrianmak said: I'm using processwire and CI too to build site for client. In CI way, it has permitted_char config for allowed char in url too, but CI could accept a utf-8 code range in the config something like $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-\x{4e00}-\x{9fa5}'; I found this information from a chinese post to solve utf-8 url in CIhttp://codeigniter.org.cn/forums/thread-20990-1-1.html I suggest @ryan should reference the CI way for processwire to handle UTF-8 url I would suggest that you open a ticket in Github to properly track this change/enhancement: https://github.com/processwire/processwire-issues/issues or https://github.com/processwire/processwire-requests/issues If you have already done this, please post a link in this post for reference purposes. Thanks. Link to comment Share on other sites More sharing options...
Gideon So Posted June 27, 2017 Share Posted June 27, 2017 Hi @adrianmak, This is indeed a much better way to white list all the Chinese characters. And seems that it is feasible to implement into the core. Gideon Link to comment Share on other sites More sharing options...
Torsten Baldes Posted May 29, 2018 Share Posted May 29, 2018 Is there any new development regarding the chinese characters? Thanks! Link to comment Share on other sites More sharing options...
adamspruijt Posted December 20, 2018 Share Posted December 20, 2018 Same question as @Torsten Baldes this feature seems kinda half finished in its current state without UTF-8 code ranges implemented. I would like to build a new site with Chinese, Japanese & Korean page name support, but as is I wouldn't feel confident that I'm covering edge cases. Link to comment Share on other sites More sharing options...
Gideon So Posted December 22, 2018 Share Posted December 22, 2018 Hi @adamspruijt @Torsten BaldesBaldes, Please add comment here https://github.com/processwire/processwire-issues/issues/724 And let see if we can raise some attention from @ryan Gideon Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now