Skip to content

Instantly share code, notes, and snippets.

@feeela
Created November 7, 2013 16:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save feeela/7357635 to your computer and use it in GitHub Desktop.
Save feeela/7357635 to your computer and use it in GitHub Desktop.
using PHP string functions as multibyte functions; following mbstring-variables should be set via php.ini or vhost-configuration (httpd.conf; doesn't work per directory [via .htaccess]) to let the normal string functions (e.g. strpos()) works as if they were a mb_* string function (e.g. mb_strpos())
mbstring.language = Neutral
mbstring.internal_encoding = UTF-8
mbstring.func_overload = 7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment