On Fri, 15 Jun 2007, Derick Rethans wrote:

> 2. Add a new modifier "H" or "L" that is like G, but 
>    locale-insensitive.

I implemented this as the "H" modifier.

> Notes:
> 
> - _build_trace_args (from Zend/zend_exceptions.c) seems also to be 
>   affected, as it uses the G modifier to build argument lists as string 
>   for exception traces. So now it uses the , to separate arguments AND 
>   as float decimal sep in case of a de_DE locale.

This one can not be fixed, as it uses zend_sprintf() which just wraps 
around sprintf() incase sprintf is not "broken". sprintf() doesn't have 
a format modifier for this purpose, so what we can do here is 1. always 
use our sprintf() implementation; 2. use php_printf() or 3. ignore it.

Derick

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to