[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/inc/ -> utf8.php (summary)

UTF8 helper functions This file now only intitializes the UTF-8 capability detection and defines helper functions if needed. All actual code is in the \dokuwiki\Utf8 classes

Author: Andreas Gohr
File Size: 285 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 26 functions

  utf8_isASCII()
  utf8_strip()
  utf8_check()
  utf8_basename()
  utf8_strlen()
  utf8_substr()
  utf8_substr_replace()
  utf8_ltrim()
  utf8_rtrim()
  utf8_trim()
  utf8_strtolower()
  utf8_strtoupper()
  utf8_ucfirst()
  utf8_ucwords()
  utf8_deaccent()
  utf8_romanize()
  utf8_stripspecials()
  utf8_strpos()
  utf8_tohtml()
  utf8_unhtml()
  utf8_to_unicode()
  unicode_to_utf8()
  utf8_to_utf16be()
  utf16be_to_utf8()
  utf8_bad_replace()
  utf8_correctIdx()

Functions
Functions that are not part of a class:

utf8_isASCII($str)   X-Ref
No description

utf8_strip($str)   X-Ref
No description

utf8_check($str)   X-Ref
No description

utf8_basename($path, $suffix = '')   X-Ref
No description

utf8_strlen($str)   X-Ref
No description

utf8_substr($str, $offset, $length = null)   X-Ref
No description

utf8_substr_replace($string, $replacement, $start, $length = 0)   X-Ref
No description

utf8_ltrim($str, $charlist = '')   X-Ref
No description

utf8_rtrim($str, $charlist = '')   X-Ref
No description

utf8_trim($str, $charlist = '')   X-Ref
No description

utf8_strtolower($str)   X-Ref
No description

utf8_strtoupper($str)   X-Ref
No description

utf8_ucfirst($str)   X-Ref
No description

utf8_ucwords($str)   X-Ref
No description

utf8_deaccent($str, $case = 0)   X-Ref
No description

utf8_romanize($str)   X-Ref
No description

utf8_stripspecials($str, $repl = '', $additional = '')   X-Ref
No description

utf8_strpos($haystack, $needle, $offset = 0)   X-Ref
No description

utf8_tohtml($str, $all = false)   X-Ref
No description

utf8_unhtml($str, $enties = false)   X-Ref
No description

utf8_to_unicode($str, $strict = false)   X-Ref
No description

unicode_to_utf8($arr, $strict = false)   X-Ref
No description

utf8_to_utf16be($str, $bom = false)   X-Ref
No description

utf16be_to_utf8($str)   X-Ref
No description

utf8_bad_replace($str, $replace = '')   X-Ref
No description

utf8_correctIdx($str, $i, $next = false)   X-Ref
No description