[drupal-devel] PHP string functions overloading for multibyte support

Dries Buytaert dries at buytaert.net
Thu May 26 17:18:18 UTC 2005


On 26 May 2005, at 00:53, Steven Wittens wrote:
>> After adding
>>
>> php_value mbstring.func_overload 7
>> php_value mbstring.internal_encoding UTF-8
>>
>>
>>
> Actually you will run into some more problems. Drupal is designed  
> to not use mbstring, because it is not available everywhere. We  
> have our own functions for handling basic UTF-8 stuff (string  
> truncation, mime header encode, etc). These functions assume they  
> get direct access to the string's bytes.

Maybe we should document this in settings.php and overwrite the PHP  
settings (in the unlikely event that someone enabled mb_string  
globally)?

--
Dries Buytaert  ::  http://www.buytaert.net/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://drupal3.drupal.org/pipermail/development/attachments/20050526/a1a81cdb/attachment.htm


More information about the drupal-devel mailing list