You are here

function transliteration_get in Transliteration 6

Same name and namespace in other branches
  1. 5.2 transliteration.module \transliteration_get()
  2. 5 transliteration.module \transliteration_get()
  3. 6.3 transliteration.module \transliteration_get()
  4. 6.2 transliteration.module \transliteration_get()
  5. 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);
}