Text::Unaccent(3pm)

Text::Unaccent3pm

Remove accents from a string

Usage

  use Text::Unaccent;
  $unaccented = unac_string($charset, $string);
  $unaccented = unac_string_utf16($string);
  $version = unac_version();
  unac_debug($level);

Overview

Text::Unaccent is a module that remove accents from a string. "unac_string" converts the input string from the specified charset to UTF-16 and call "unac_string_utf16" to return the unaccented equivalent. The conversion from and to UTF-16 is done with iconv(1).

Methods

$unaccented = unac_string($charset, $string)

Return the unaccented equivalent of the string $string. The character set of $string is specified by the $charset argument. The returned string is coded using the same character set. Valid values for the $charset argument are character sets known by iconv(1). Under GNU/Linux try "iconv -l" for a complete list.

$unaccented = unac_string_utf16($string)

Return the unaccented equivalent of the string $string. The character set of $string must be UTF-16.

$version = unac_version()

Return the version of the unac library used by this perl module.

unac_debug($level)

Set the debug level. Messages are printed on stderr. Possible debug levels are:

Pod errors

Hey! The above document had some coding errors, which are explained below:

Around line 101:

You forgot a '=back' before '=head1'

Releases

12 releases since Debian 3.0 (Woody); the text changed 9 times.

  1. 3.0
  2. 3.1–4.0
  3. 5.0–6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11
  9. 12
  10. 13

Author

Loic Dachary ([email protected]) http://www.senga.org/unac/

From libtext-unaccent-perl 1.08-2+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.