mbstring

Where can I get a complete list of all multi-byte functions for PHP?

Where can I get a complete list of all multi-byte functions for PHP? I need to go through my application and switch the non MB string functions to the new mb functions. ...

mb_ereg_* in PHP6

So ereg won't be present in PHP6. And I don't really care, because I'm using PCRE functions. But for multibyte strings, I'm using mb_ereg_* functions. The question is: they'll be present in PHP6 in the mbstring extension, or I will have to switch to some kind of multibyte PCRE functions? ...

UTF-8, and mbstring extension in php

While I was converting my latin-1 mysql database into utf-8 i came across this article (http://developer.loftdigital.com/blog/php-utf-8-cheatsheet) please note I have successfully converted my database and my app appears to be working/outputting correctly It the previously mentioned link it says about installing and using the mbstring ...

PHP: Split multibyte string (word) into separate characters

Trying to split this string "主楼怎么走" into separate characters (I need an array) using mb_split with no luck... Any suggestions? Thank you! ...

mb_internal_encoding() not available though configured?

I'm having problem with mbstring in my Apache2.2/Win7/PHP5.3 setup, though I think it's correctly configured in my php.ini: extension_dir = "ext" extension=php_mbstring.dll I get the following: Fatal error: Call to undefined function mb_internal_encoding() in ... I did a manual installation (by the book) using the VC6 .zip. I'm run...

php mb_convert_case() keep words that are in uppercase

Hi, Assuming I have a string "HET1200 text string" and I need it to change to "HET1200 Text String". Encoding would be UTF-8. How can I do that? Currently, I use mb_convert_case($string, MB_CASE_TITLE, "UTF-8"); but that changes "HET1200" to "Het1200. I could specify an exception, but it won't be an exhaustive. So I rather all upperca...

Does Zend Framework application need mbstring for UTF8 support?

I'm building a web app in zend framework that needs UTF8 support for all languages. This seems to work fine except for functions like stripslashes and such. On this URL, they talk about using MBSTRING http://developer.loftdigital.com/blog/php-utf-8-cheatsheet Is it necessary to use mbstring on my server and replace ALL occurences of U...

will phing run after activating mbstaring for unicode/utf8 support?

I'm trying to get ou rapp work with UTF8 correctly, and I'm afraid I'll nee to activate the use of mbstring for this. If I use the mbstring.func_overload setting to overload automatically to mbstring-functions on my server, will my phing deployment tool (php-based?) still run? Does anyone have experience with this? We are running PHP5.3...

mb_strlen() is it enough ?

Hi, When counting the length of a utf-8 string in php i use mb-strlen() , example: if (mb_strlen($name, 'UTF-8') < 3) { $error .= 'Name is required. Minimum of 3 characters required'; } As the text fields can accept any language (multilanguage) i want to make sure that php will count mutltilanguage utf-8 characters correctly. ...

iconv or mbstring ?

Which multibyte-handling library should I use : iconv or mbstring ? After some Googling I didn't find enough arguments to convince me to use one particularly, and I could not get any benchmark (and I'm too lazy do create one :-p). After all maybe this choice doesn't really matters ? Thanks for any piece of advice. ...