getCharsetString() public static méthode

only default character encodings from J2SE are supported from http://www.iana.org/assignments/character-sets and http://java.sun.com/j2se/1.4.2/docs/api/java/nio/charset/Charset.html
public static getCharsetString ( $cs )
Exemple #1
0
 /**
  * Returns the character encoding. Only default character
  * encodings from J2SE are supported.  From
  * http://www.iana.org/assignments/character-sets and
  * http://java.sun.com/j2se/1.4.2/docs/api/java/nio/charset/Charset.html
  */
 public function getCharset($input)
 {
     $cs = Horde_Xml_Wbxml::MBUInt32ToInt($input, $this->_strpos);
     return Horde_Xml_Wbxml::getCharsetString($cs);
 }