Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #83605

unidecode

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <jacob@blindza.co.za>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'url:pypi': 0.03; 'value,': 0.04; 'binary': 0.07; 'string': 0.09; 'translations': 0.09; 'tune': 0.09; 'mostly': 0.14; 'jacob': 0.16; 'received:opentransfer.com': 0.16; 'substitution': 0.16; 'bit': 0.19; 'trying': 0.19; 'seems': 0.21; 'unicode': 0.24; 'decide': 0.24; 'fine': 0.24; 'handling': 0.26; 'certain': 0.27; 'specifically': 0.29; 'character': 0.29; 'characters': 0.30; 'along': 0.30; 'lines': 0.31; 'apparently': 0.31; 'file': 0.32; 'quite': 0.32; 'text': 0.33; 'url:python': 0.33; '-----': 0.33; 'monday,': 0.33; 'maybe': 0.34; 'more,': 0.35; 'but': 0.35; 'url:org': 0.36; 'january': 0.37; 'handle': 0.38; 'to:addr:python- list': 0.38; 'recent': 0.39; 'subject:': 0.39; '12,': 0.39; 'to:addr:python.org': 0.39; 'space': 0.40; 'worry': 0.60; 'received:unknown': 0.61; '2015': 0.84; 'relate': 0.84
Comment DKIM? See http://www.dkim.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=blindza.co.za; s=dkim-shared; x=1421670686; h=Comment: DomainKey-Signature:Received:Received:Message-ID:From:To:Subject: Date:MIME-Version:Content-Type; bh=n02OgfFa2ealTBT9uxCZSyop0u5kF hUlCIHKbFHfmP4=; b=o9WChv1wtwwI4+fQBEq/LhFvuOOMeHd4o8yk+xb08Viig 6y/LIF4Vl7Ry21XCsVTj2YMMJUPTK+kTiW/cyvMQAQ/I7guL1sv4rFosLZwZE/e+ hnUVudI1MuAeKy+UjQaGqrFqZ0J8rjMsEBTLCh9MYuXuT4szwu7G/1mirTyWZA=
Comment DomainKeys? See http://antispam.yahoo.com/domainkeys
DomainKey-Signature a=rsa-sha1; q=dns; c=nofws; s=dkim-shared; d=blindza.co.za; h=Received:Received:X-Originating-IP:Message-ID:From:To:Subject:Date:MIME-Version:Content-Type:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE; b=nI8zEJg//jI8XKA/95qgvzAqR0YV1Cvqh7Y9Us8/qj587nhnOa9uoCKmtUl0DP zP815bFBsuMWgiM57Dqidd2xSzU8NwRI8dUrOE4D4qXmQug6BhKjg68uorgeBHET 63Sf1AfRfWJfiIh4CLVQtdl1SG9KbCHAWcS5AWhB1BcZU=;
X-Originating-IP 105.236.166.196
From "Jacob Kruger" <jacob@blindza.co.za>
To <python-list@python.org>
Subject unidecode
Date Mon, 12 Jan 2015 14:31:15 +0200
MIME-Version 1.0
Content-Type multipart/alternative; boundary="----=_NextPart_000_00BD_01D02E74.6BE8D750"
X-Priority 3
X-MSMail-Priority Normal
X-Mailer Microsoft Windows Mail 6.0.6002.18197
X-MimeOLE Produced By Microsoft MimeOLE V6.1.7601.17609
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.17619.1421065890.18130.python-list@python.org> (permalink)
Lines 106
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1421065890 news.xs4all.nl 2935 [2001:888:2000:d::a6]:39254
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:83605

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Along lines of recent queries/questions, which had mostly sorted out, but, which was still trying to fine tune with regards to text file formats, in terms of writing as strings, or as binary files, and where was still trying to decide if wanted to worry about maybe specifically just handling forms of manual/hard-coded translations of certain accented characters which might relate to some of them that might get used quite often in names, etc., I just came across the following unidecode module:
https://pypi.python.org/pypi/Unidecode/

Seems to just take any unicode value, and 'translate' it into a string value, and will apparently try handle some forms of character substitution - but will play around with it a bit more, and let's see...

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."

----- Original Message ----- 
From: Jacob Kruger 
To: Jacob Kruger 
Sent: Monday, January 12, 2015 2:15 PM
Subject: unidecode


https://pypi.python.org/pypi/Unidecode/

Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

unidecode "Jacob Kruger" <jacob@blindza.co.za> - 2015-01-12 14:31 +0200

csiph-web