-
Notifications
You must be signed in to change notification settings - Fork 126
Sabre VObject StringUtil
Evert Pot edited this page Sep 1, 2014
·
3 revisions
Useful utilities for working with various strings.
- Class name: StringUtil
- Namespace: Sabre\VObject
boolean Sabre\VObject\StringUtil::isUTF8(string $str)
Returns true or false depending on if a string is valid UTF-8
- Visibility: public
- This method is static.
- $str string
string Sabre\VObject\StringUtil::convertToUTF8(string $str)
This method tries its best to convert the input string to UTF-8.
Currently only ISO-5991-1 input and UTF-8 input is supported, but this may be expanded upon if we receive other examples.
- Visibility: public
- This method is static.
- $str string