Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

text::unaccent(3pm) [debian man page]

Unaccent(3pm)						User Contributed Perl Documentation					     Unaccent(3pm)

NAME
Text::Unaccent - Remove accents from a string SYNOPSIS
use Text::Unaccent; $unaccented = unac_string($charset, $string); $unaccented = unac_string_utf16($string); $version = unac_version(); unac_debug($level); DESCRIPTION
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: AUTHOR
Loic Dachary (loic@senga.org) http://www.senga.org/unac/ SEE ALSO
iconv(1), unac(3). POD ERRORS
Hey! The above document had some coding errors, which are explained below: Around line 101: You forgot a '=back' before '=head1' perl v5.14.2 2004-10-17 Unaccent(3pm)

Check Out this Related Man Page

unaccent(1)						      General Commands Manual						       unaccent(1)

NAME
unaccent - remove accents from input stream or a string SYNOPSIS
unaccent [--debug_low] [--debug_high] [-h] charset [string] [expected] DESCRIPTION
With a single argument, unaccent reads data from stdin, replaces accented letters by their unaccented equivalent and writes the result on stdout. If the second argument ('string') is provided unaccent transforms it by replacing accented letters by their unaccented equivalent. The result is printed on the standard output. The charset of the input string or the data read from stdin is specified by the 'charset' argument (ISO-8859-15 for instance). The output is printed using the same charset. If the 'expected' argument is provided, the output string is compared to it. If they are not equal unaccent exits on error. unaccent relies on the iconv(3) library to convert from the specified charset to UTF-16BE (or UTF-16 if UTF-16BE is not available). You should check the manual pages for available charsets. On GNU/Linux the command iconv -l shows all available charsets. OPTIONS
--debug_low Prints human readable information about the unaccentuation process. See unac(3) for more information. --debug_high Prints very detailed information about the unaccentuation process. See unac(3) for more information. --help -h Prints a short usage and exits. EXAMPLES
Remove accents from the string ete and check that the result is ete. unaccent ISO-8859-1 ete ete Remove accents from file myfile and put the result in file myfile.unaccent unaccent ISO-8859-1 < myfile > myfile.unaccent SEE ALSO
unac(3), iconv(3) AUTHOR
Loic Dachary loic@senga.org http://www.senga.org/unac/ local unaccent(1)
Man Page