Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: utf8

License

Content on this site is copyright © 2005 - 2008 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5. Some parts of this website may be subject to other licenses.

File/phputf8/mbstring/strlen.php

Description
Constants
UTF8_STRLEN = TRUE (line 12)

Define UTF8_STRLEN as required

Functions
utf8_strlen (line 26)

Wrapper round mb_strlen

Assumes you have mb_internal_encoding to UTF-8 already Note: this function does not count bad bytes in the string - these are simply ignored

  • return: number of UTF-8 characters in string
int utf8_strlen (string $str)
  • string $str: UTF-8 string

Documentation generated on Tue, 29 Jan 2008 18:51:40 +0000 by phpDocumentor 1.3.1