Re: [RFC] Multibyte char handling

From: Date: Thu, 16 Jan 2014 22:47:49 +0000
Subject: Re: [RFC] Multibyte char handling
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi Nikita,

On Fri, Jan 17, 2014 at 7:38 AM, Nikita Popov <[email protected]> wrote:

> No, I don't want a locale-based approach. I want the string functions to
> stay as is. Multibyte variants of the functions can be added to the
> multibyte extension.


Creating mb_*() function would not solve security issues of
multibyte char handling since multibyte aware functions are
optional feature.

However, it may work if PHP compiles mbstring by default and
discourage use of addslashes()/var_export()/stripslashes()
in favor of mb_*() variants.

This could be voting option.
Did I understand your opinion correctly?

Regards,

--
Yasuo Ohgaki
[email protected]


Thread (31 messages)

« previous php.internals (#71198) next »