http://bugzilla.novell.com/show_bug.cgi?id=517595
User ke@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=517595#c4
Karl Eichwalder changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ke@novell.com
--- Comment #4 from Karl Eichwalder 2009-07-13 06:42:23 MDT ---
Here is how you can do this with the external iconv command:
If you want to ensure that it is all ASCII, convert back and forth using iconv:
iconv -f UTF-8 -t ASCII | iconv -f ASCII -t UTF-8
If you are interested in filtering out resp. replacing "funny" chars, use
iconv:
echo “help™” | LANG=en_US iconv -f UTF-8 -t ascii//translit
==> "help(TM)"
For foreign texts:
echo “hülfe™” | LANG=de_DE iconv -f UTF-8 -t ascii//translit
==> "huelfe(TM)"
Using the library is probably possible, too.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.