August 19th, 2013, 08:15 PM
Adding multi-bytes regex support...
I need to add UTF-8 support to the regex used in an (mainly Linux) app I work on and I have a couple of questions.
- Is the package to add multi-byte support needed to use the /u switch of the preg calls?
- Is the support for multi-byte always in a separate package or is it sometimes bundled in the same package?
August 19th, 2013, 08:40 PM
I don't believe you need mbstring - just a compile-time (for the PHP source code) setting to enable it. Which damn near every installation should have.
Last edited by requinix; August 19th, 2013 at 08:43 PM.
September 10th, 2013, 09:44 PM
Oops, sorry, I was somehow not advised I had received a reply...
Thank you! I tried it here and it works. I'll send a diff file to somebody else who can try it more thoroughly...
Originally Posted by requinix