[dev] [cvs] commit: framework/MIME/MIME Structure.php
Jan Schneider
jan at horde.org
Thu Feb 9 07:29:38 PST 2006
Zitat von Michael M Slusarz <slusarz at bigworm.curecanti.org>:
> Quoting Jan Schneider <jan at horde.org>:
>
>> Zitat von Michael M Slusarz <slusarz at curecanti.org>:
>>
>>> slusarz 2006-02-08 21:36:36 PST
>>>
>>> Modified files:
>>> MIME/MIME Structure.php
>>> Log:
>>> Use PHP string functions instead of String:: functions since we
>>> are dealing
>>> with MIME headers here - they must be in 7bit.
>>> Only append .0 to rfc822 subparts of 'message'.
>>>
>>> Revision Changes Path
>>> 1.100 +8 -7 framework/MIME/MIME/Structure.php
>>
>> This is *exactly* why you need the String:: functions here. PHP's
>> strto*() functions are locale dependant.
>
> locale dependant how? are you saying that strto*() treats US-ASCII
> text different depending on the locale?
Yes. That's why String::lower()/upper() have a $locale parameter
defining whether the lower/uppercasing should be locale dependant.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the dev
mailing list