It often happens that you have non-Roman text data in Unicode, but you can't display it -- usually because you're trying to show it to a user via an application that doesn't support Unicode, or because the fonts you need aren't accessible. You could represent the Unicode characters as "???????" or "\15BA\15A0\1610...", but that's nearly useless to the user who actually wants to read what the text says. What Unidecode provides is a function, 'unidecode(...)' that takes Unicode data and tries to represent it in ASCII characters (i.e., the universally displayable characters between 0x00 and 0x7F). The representation is almost always an attempt at *transliteration* -- i.e., conveying, in Roman letters, the pronunciation expressed by the text in some other writing system. (See the example above) This is a Python port of the Text::Unidecode Perl module by Sean M. Burke <sburke@cpan.org>. WWW: http://code.zemanta.com/tsolc/unidecode/
Responsible Changed From-To: freebsd-ports-bugs->freebsd-python freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
State Changed From-To: open->closed Committed. Thanks!
miwi 2009-11-04 14:37:37 UTC FreeBSD ports repository Modified files: converters Makefile Added files: converters/py-unidecode Makefile distinfo pkg-descr pkg-plist Log: What Unidecode provides is a function, 'unidecode(...)' that takes Unicode data and tries to represent it in ASCII characters (i.e., the universally displayable characters between 0x00 and 0x7F). The representation is almost always an attempt at *transliteration* -- i.e., conveying, in Roman letters, the pronunciation expressed by the text in some other writing system. (See the example above) WWW: http://code.zemanta.com/tsolc/unidecode/ PR: ports/139858 Submitted by: Douglas Thrift Revision Changes Path 1.167 +1 -0 ports/converters/Makefile 1.1 +23 -0 ports/converters/py-unidecode/Makefile (new) 1.1 +3 -0 ports/converters/py-unidecode/distinfo (new) 1.1 +8 -0 ports/converters/py-unidecode/pkg-descr (new) 1.1 +544 -0 ports/converters/py-unidecode/pkg-plist (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"