Re: [PHP-I18N] [PATCH] ICU ResourceBundles for ext/unicode

2006-12-14 Thread Michael Wallner
l0t3k wrote: > its been a while since i looked at this. i'll take a look and see.. Well, I see, it may be true for opening the ICUDATA bundle... but that shouldn't be a problem. > btw. i assume you'll handle open basedir issues as well ? There's no such thing in PHP6. Latest patch attached.

Re: [PHP-I18N] [PATCH] ICU ResourceBundles for ext/unicode

2006-12-14 Thread l0t3k
Mike, fyi, your messages are being cc'ed to the icu list clayton "Michael Wallner" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > l0t3k wrote: > -- PHP Unicode & I18N Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-I18N] [PATCH] ICU ResourceBundles for ext/unicode

2006-12-14 Thread l0t3k
Michael, > > Maybe this has changed in the meantime? its been a while since i looked at this. i'll take a look and see.. btw. i assume you'll handle open basedir issues as well ? clayton -- PHP Unicode & I18N Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.

Re: [PHP-I18N] [PATCH] ICU ResourceBundles for ext/unicode

2006-12-14 Thread Michael Wallner
l0t3k wrote: > its actually worse than gettext().. > suppose we have an Apache process handling PHP scripts in different web > apps. When a script from app1 requests the resource bundle for "en_US" for > example, ICU performs the search, and if found the internal resource bundle > structure is

Re: [PHP-I18N] [PATCH] ICU ResourceBundles for ext/unicode

2006-12-14 Thread l0t3k
"Michael Wallner" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > l0t3k wrote: >> In ICU, resource bundles are cached for efficiency, but the cache is >> per-process, and i seem to recall that the cache is not currently >> flushed. >> Additionally the key is the ICU locale id, so i

Re: [PHP-I18N] [PATCH] ICU ResourceBundles for ext/unicode

2006-12-14 Thread Michael Wallner
l0t3k wrote: > In ICU, resource bundles are cached for efficiency, but the cache is > per-process, and i seem to recall that the cache is not currently flushed. > Additionally the key is the ICU locale id, so its impossible without source > changes to make this work for user-created resources wi

Re: [PHP-I18N] [PATCH] ICU ResourceBundles for ext/unicode

2006-12-13 Thread l0t3k
In ICU, resource bundles are cached for efficiency, but the cache is per-process, and i seem to recall that the cache is not currently flushed. Additionally the key is the ICU locale id, so its impossible without source changes to make this work for user-created resources without collision in s

Re: [PHP-I18N] [PATCH] ICU ResourceBundles for ext/unicode

2006-12-13 Thread Andrei Zmievski
Hmm, let me review this. I should also check with a couple of i18n folks at Yahoo who I remember mentioning something about resource bundles and PHP. -Andrei On Dec 13, 2006, at 8:30 AM, Michael Wallner wrote: Hi, I prepared a patch to add ResourceBundle support to ext/unicode. Everybody

[PHP-I18N] [PATCH] ICU ResourceBundles for ext/unicode

2006-12-13 Thread Michael Wallner
Hi, I prepared a patch to add ResourceBundle support to ext/unicode. Everybody fine with adding it? Regards, -- Michael Index: ext/unicode/config.m4 === RCS file: /repository/php-src/ext/unicode/config.m4,v retrieving revision 1.10