void convertFromUtf8(
$string, [
$targetEncoding = null]
)
|
|
Parameters:
|
$string: |
|
|
$targetEncoding: |
|
API Tags:
See: | GalleryCoreApi::convertFromUtf8
Warning: If neither iconv, http://www.php.net/mb_convert_encoding, or recode_string is available
we will use a manual mapping from UTF-8 to the target encoding which is
INCOMPLETE. That is, we only convert the characters that are in our
charset tables from GalleryCharsetHelper_medium. |
void convertToUtf8(
$string, [
$sourceEncoding = null]
)
|
|
Parameters:
|
$string: |
|
|
$sourceEncoding: |
|
API Tags:
See: | GalleryCoreApi::convertToUtf8 |
string detectSystemCharset(
)
|
|
Detect the standard charset for this system
API Tags:
Return: | an encoding (eg. "UTF-8" or "Windows-1252") |
void utf8Strcut(
$string,
$start,
$length
)
|
|
Parameters:
|
$string: |
|
|
$start: |
|
|
$length: |
|
API Tags:
See: | GalleryCoreApi::utf8Strcut |
void utf8Substring(
$string,
$start,
$length
)
|
|
Parameters:
|
$string: |
|
|
$start: |
|
|
$length: |
|
API Tags:
See: | GalleryCoreApi::utf8Substring |