|
| convert (string $sourceString, ?string $encoding=self::DEFAULT_ENCODING, ?bool $safeMode=false) |
|
| convert (string $sourceString, string $encoding='ISO-8859-1', bool $safeMode=false) |
|
◆ convert()
convert |
( |
string |
$sourceString, |
|
|
?string |
$encoding = self::DEFAULT_ENCODING , |
|
|
?bool |
$safeMode = false |
|
) |
| |
◆ convertWithLibraries()
convertWithLibraries |
( |
string |
$string | ) |
|
|
private |
◆ mapIso8859_1ToWindows1252()
mapIso8859_1ToWindows1252 |
( |
|
$string = '' | ) |
|
|
private |
Special treatment for our guys in Redmond Windows-1252 is basically ISO-8859-1 – with some exceptions, which get dealt with here
- Paramètres
-
string | $string | Your input in ISO-8859-1 |
- Renvoie
- string The resulting Win1252 string
- Depuis
- 0.0.1
Références $i, et $return.
◆ $encoding
$encoding = self::DEFAULT_ENCODING |
|
private |
◆ DEFAULT_ENCODING
const DEFAULT_ENCODING = 'ISO-8859-1' |
|
private |
La documentation de cette classe a été générée à partir du fichier suivant :