function _unicode_caseflip
Same name and namespace in other branches
- 7.x drupal-7.x/includes/unicode.inc \_unicode_caseflip()
Helper function for case conversion of Latin-1. Used for flipping U+C0-U+DE to U+E0-U+FD and back.
2 string references to '_unicode_caseflip'
- drupal_strtolower in drupal-6.x/
includes/ unicode.inc - Lowercase a UTF-8 string.
- drupal_strtoupper in drupal-6.x/
includes/ unicode.inc - Uppercase a UTF-8 string.
Archivo
- drupal-6.x/
includes/ unicode.inc, line 455
Código
function _unicode_caseflip($matches) {
return $matches[0][0] . chr(ord($matches[0][1]) ^ 32);
}