Class TexyUtf
UTF-8 helper.
final public
|
#
__construct(
)
static class. static class. |
public static
|
#
toUtf(
$s,
$encoding
)
Converts from source encoding to UTF-8. Converts from source encoding to UTF-8. |
public static
|
#
utfTo(
$s,
$encoding
)
Converts from UTF-8 to dest encoding. Converts from UTF-8 to dest encoding. |
public static
|
#
strtolower(
$s
)
StrToLower in UTF-8. StrToLower in UTF-8. |
public static
|
#
utf2ascii(
$s
)
Converts UTF-8 to ASCII. Converts UTF-8 to ASCII. iconv(‚UTF-8‘, ‚ASCII//TRANSLIT‘, …) has problem with glibc! |
public static
|
#
utf2html(
$s,
$encoding
)
Converts UTF-8 to dest encoding + html entities. Converts UTF-8 to dest encoding + html entities. |