Open Journal Systems  2.4.8
 All Classes Namespaces Functions Variables Groups Pages
Transcoder Class Reference

Public Member Functions

 trans ($string)
 Transcoder ($fromEncoding, $toEncoding, $translit=false)

Detailed Description

Multi-class transcoder; uses mbstring and iconv if available, otherwise falls back to built-in classes.

Definition at line 17 of file

Member Function Documentation

Transcoder::trans (   $string)

Transcode a string

$stringstring String to transcode
string Result of transcoding

Definition at line 44 of file

References String\html2utf().

Transcoder::Transcoder (   $fromEncoding,
  $translit = false 


$fromEncodingstring Name of source encoding
$toEncodingstring Name of target encoding
$translitboolean Whether or not to transliterate while transcoding

Definition at line 33 of file

The documentation for this class was generated from the following file: