The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Am 13.09.2012 23:26, schrieb Tim Chase:
> I've got a bunch of text in Portuguese and to transmit them, need toThe unidecode  package contains a large mapping of unicode chars to
> have them in us-ascii (7-bit). I'd like to keep as much information
> as possible, just stripping accents, cedillas, tildes, etc. So
> "serviço móvil" becomes "servico movil". Is there anything stock
> that I've missed? I can do mystring.encode('us-ascii', 'replace')
> but that doesn't keep as much information as I'd hope.
ASCII. It even supports cool stuff like Chinese to ASCII:
>>> import unidecodeBei Jing
>>> print u"\u5317\u4EB0"
>>> print unidecode.unidecode(u"\u5317\u4EB0")
icu4c and pyicu  may contain more methods for conversion but they
>>> import icuicu.Locale.getUS())
>>> rbf = icu.RuleBasedNumberFormat(icu.URBNFRuleSetTag.SPELLOUT,
>>> rbf.format(23)u'one hundred thousand'
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.