Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: utf8

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

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 Mon, 05 Mar 2007 21:27:17 +0000 by phpDocumentor 1.3.1