[Bug 338720] Re: Function lookup problem after calling setlocale(LC_ALL, "tr_TR")

Andreas Olsson andreas at arrakis.se
Sun Mar 15 19:26:22 GMT 2009


I can kind of confirm this bug. Actually I can only confirm this error
for certain function names. For example, try replace HI5()  with foo(),
and everything should work as expected.

>From my limited testing I've only ran into this problem when the
function name contains a capital I.

Not entirely sure if this is a bug in PHP. While generating the tr_TR
locale I received the following errors:

root at pc13267v3:/var/lib/locales/supported.d# echo "tr_TR ISO-8859-1" >> local 
root at pc13267v3:/var/lib/locales/supported.d# locale-gen 
Generating locales...
  en_US.UTF-8... up-to-date
  sv_SE.UTF-8... up-to-date
  tr_TR.ISO-8859-1... /usr/share/i18n/locales/tr_TR:1477: LC_MESSAGES: unknown character in field `nostr'
/usr/share/i18n/locales/tr_TR:1510: LC_TIME: unknown character in field `day'
/usr/share/i18n/locales/tr_TR:1525: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/tr_TR:1531: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/tr_TR:1532: LC_TIME: unknown character in field `mon'
/usr/share/i18n/locales/tr_TR:1567: LC_NAME: unknown character in field `name_gen'
failed
Generation complete.
root at pc13267v3:/var/lib/locales/supported.d# 

All of the above applies to current versions of Ubuntu 8.04, 8.10 and
9.04.

** Changed in: php5 (Ubuntu)
       Status: New => Confirmed

-- 
Function lookup problem after calling setlocale(LC_ALL, "tr_TR")
https://bugs.launchpad.net/bugs/338720
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.



More information about the Ubuntu-server-bugs mailing list