Re: bug 18556 - tolower & locales
| From: | Nikita Popov | Date: | Wed, 11 Jul 2012 09:41:00 +0000 |
| Subject: | Re: bug 18556 - tolower & locales | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-61121@lists.php.net to get a copy of this message | ||
On Wed, Jul 11, 2012 at 7:40 AM, Stas Malyshev <smalyshev@sugarcrm.com> wrote:
> Hi!
>
> I've prepared a fix for bug #18556 - see
> https://github.com/php/php-src/pull/126
> A slight complication there is that for internal operations we probably
> want locale-independent lowercasing, while for regular string operations
> we probably want to stay with locale-depenedent one. That's how I
> implemented it, even though it adds a bit of complexity, but I think
> it's the best way to solve it. Any comments/objections/improvements?
With this patch, will it still be possible to use foreign class names
correctly? Like writing them in Russian and expecting the
case-insensitivity to work correct?
Nikita