[ Index ]

PHP Cross Reference of phpwcms V1.5.0 _r431 (28.01.12)

title

Body

[close]

/include/inc_lib/ -> charset_helper.inc.php (summary)

(no description)

File Size: 190 lines (9 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

  phpwcms_seems_utf8()
  phpwcms_remove_accents()
  pre_remove_accents()

Functions
Functions that are not part of a class:

phpwcms_seems_utf8($str)   X-Ref
Checks to see if a string is utf8 encoded.

NOTE: This function checks for 5-Byte sequences, UTF8
has Bytes Sequences with a maximum length of 4.

author: bmorel at ssi dot fr (modified)
param: string $str The string to be checked
return: bool True if $str fits a UTF-8 model, false otherwise.

phpwcms_remove_accents($string)   X-Ref
Converts all accent characters to ASCII characters.

If there are no accent characters, then the string given is just returned.
param: string $string Text that might have accent characters
return: string Filtered string with replaced "nice" characters.

pre_remove_accents($string)   X-Ref
No description



Generated: Sun Jan 29 16:31:14 2012 Cross-referenced by PHPXref 0.7.1