Contains functions relative to charsets

Class Methods

The following methods can be invoked on instances of this class.

isUTF8(string strString)

Tests if a string is in UTF-8
source: http://stackoverflow.com/questions/1037363/how-to-check-the-charset-of-string

isUTF16(string str)

Tests if a string is in UTF-16

convertUTF16ToUTF8(mixed str)

convertSpecialQuotes(string str)

Changes any MS specific / unicode quotes to standard quotes
Note: you may need to perform html_entity_decode($str, ENT_QUOTES, "UTF-8") first

__call(mixed strName, array arrArguments)

Magic function to trap calls to undefined functions and throw an exception rather than
a fatal error.

__callStatic(mixed strName, array arrArguments)

Magic function to trap static calls to undefined functions and throw an exception rather
than a fatal error.

classGetFolder()

Returns the folder where the class exists

__set_state(mixed arrValues)

classGetFolderResources()

Returns the folder where the class's resources exist

classGetSrcFile()

Returns the folder where the class exists

classGetSrcHash()

Returns the folder where the class exists

classGetReflection()

Returns the reflection data for the current class

classGetReflectionAnnotation(string strField)

Returns a specific class annotation for the current class