Is Phalcon UTF8 compliant?

I was wondering what is the internals of Phalcon using with regards to UTF8?

For instance if I use something like this

echo strlen('hello'); // output 5


echo strlen('汉字/漢字'); // will output something like 10

strlen is not UTF8 compatible so one has to use the mb_strlen to be safe.

Does Phalcon use (internally) mb_* related functions? If not how can we ensure that everything internally is handled in a UTF8 manner to ensure compatibility with all languages?



Currently, PHP is binary safe,that means you can work with multibyte strings (like utf8 or other charsets), latin1 or ascii in a transparent way.

Phalcon, only uses strlen when working with directory names (not sure if anyone is using directories with multi-byte characters).

Need Your Help

What is this ios presentation style called?

ios5 uialertview modalviewcontroller

When you use the mail app on iPhone and you click on the little flag icon and it presents a dialog from the bottom of the screen that says: Flag, Mark as Read, and Cancel. What is that presentation...

Fatal error: Class 'WP_Customize_Control' not found - WordPress

php wordpress wordpress-theming

Im building my own wordperss theme and when starting on the WordPress Customizer for theme options I have come in a little bit of trouble.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.