function transliteration_get in Transliteration 5
Same name and namespace in other branches
- 5.2 transliteration.module \transliteration_get()
- 6.3 transliteration.module \transliteration_get()
- 6 transliteration.module \transliteration_get()
- 6.2 transliteration.module \transliteration_get()
- 7.3 transliteration.module \transliteration_get()
Transliterate UTF-8 input to plain ASCII.
Parameters
string $input: UTF-8 text input.
string $unknown: Replacement for unknown or illegal characters.
Return value
string Plain ASCII output.
File
- ./
transliteration.module, line 21 - Provides transliteration for UTF-8 text input and sanitzes file names.
Code
function transliteration_get($input, $unknown = '?') {
require_once drupal_get_path('module', 'transliteration') . '/transliteration.inc';
return _transliteration_process($input, $unknown);
}