Comments on: Japanese charaters in code igniter urls http://mrkirkland.com/japanese-charaters-in-code-igniter-urls/ (mainly) Tokyo based developer and founder Thu, 04 Jun 2015 00:25:00 +0000 hourly 1 https://wordpress.org/?v=4.4.2 By: yongfook http://mrkirkland.com/japanese-charaters-in-code-igniter-urls/#comment-142 Sat, 01 Mar 2008 08:54:06 +0000 http://www.mrkirkland.com/japanese-charaters-in-code-igniter-urls/#comment-142 dude, I freaking looked everywhere for this regex expression for one of my old projects. my google skills are the fail. thanks for posting the solution!

]]>
By: Code Igniter Japanese Localisation http://mrkirkland.com/japanese-charaters-in-code-igniter-urls/#comment-141 Wed, 23 Jan 2008 03:44:24 +0000 http://www.mrkirkland.com/japanese-charaters-in-code-igniter-urls/#comment-141 […] on from a previous note about Japanese and code igniter, I just found a Japanese language pack for code igniter on http://www.cilab.info/. There’s a […]

]]>
By: autoreverse http://mrkirkland.com/japanese-charaters-in-code-igniter-urls/#comment-140 Tue, 11 Dec 2007 14:29:37 +0000 http://www.mrkirkland.com/japanese-charaters-in-code-igniter-urls/#comment-140 Hi Chris

Here’s the other solution (hack) I promised (I should learn to scroll below the fold)

In Router.php change

if ( ! preg_match(“|^[“.preg_quote($this->config->item(‘permitted_uri_chars’)).”] $|i”, $str))

to

if ( ! preg_match(“|^[“.preg_quote($this->config->item(‘permitted_uri_chars’)).”] $|i”, rawurlencode($str)))

A link to the bug report: http://www.codeigniter.com/bug_tracker/bug/2929/

Derek Allard says the CI guys are working on a better solution but you might want to add yours too so they are aware of what other people are doing.

]]>