Link Details

This demonstrated how to use Portable UTF8 library. UTF-8 encoded characters are multi-byte characters that take variable number of bytes - between 1 and 4. This affects all basic to advance string operations because the native string handling functions of PHP operate on single byte characters and do not support multi-byte, resulting in broken characters and unreadable text. Portable UTF-8 solves this issue gently and performs all string operations at character level, rather than at byte level.

Posted by hamdusa  |   Jun 22 2013 / 13:46

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.


User 368023 avatar

yakkoh replied ago:

Why not on github?

Reply 0 votes
User 1120803 avatar

Hamid Sarfraz replied ago:

Yes, I should move to github. But it will take some time. Probably until the next release.

Reply 0 votes
User 388907 avatar

MCII replied ago:

UTF-8 is portable by definition. Oh, I see ... it's merely a PHP library.

Reply 0 votes
User 1120803 avatar

Hamid Sarfraz replied ago:

Portable UTF8 brings UTF8 support in your portable PHP apps. The name was intentionally kept this way so that everyone at least knows there is a better and more reliable option beyond mbstring/iconv/etc. By the way, admire others' efforts.

Reply 0 votes

Recommended Links

Written by: Ryan Knight
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Play
  3. Akka
  4. Debugging JavaScript
  5. Design Patterns
  1. Apache Hadoop
  2. REST
  3. Java
  4. Git
  5. Java Performance
Connect with DZone