Link Details

Link 986699 thumbnail
User 1120803 avatar

By hamdusa
via pageconfig.com
Published: Jun 22 2013 / 13:46

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.
  • 7
  • 0
  • 837
  • 782
User 368023 avatar

yakkoh replied ago:

0 votes Vote down Vote up Reply

Why not on github?

User 1120803 avatar

Hamid Sarfraz replied ago:

0 votes Vote down Vote up Reply

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

User 388907 avatar

MCII replied ago:

0 votes Vote down Vote up Reply

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

User 1120803 avatar

Hamid Sarfraz replied ago:

0 votes Vote down Vote up Reply

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.

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.

Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java