Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.026 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'pypi': 0.04; 'x-mailer:evolution 2.28.3': 0.07; 'python': 0.08; 'url:github': 0.09; 'library': 0.13; 'non-standard': 0.16; 'subject:non': 0.16; 'cc:addr:python-list': 0.16; 'wrote:': 0.18; 'cc:no real name:2**0': 0.20; 'header:In-Reply-To:1': 0.22; 'cc:2**0': 0.24; "i'm": 0.26; 'developing': 0.26; 'cc:addr:python.org': 0.29; 'subject:support': 0.30; 'subject:?': 0.31; "i've": 0.31; 'version': 0.32; 'fri,': 0.34; 'character': 0.34; 'subject:How': 0.35; '...': 0.36; 'encoding': 0.37; 'could': 0.37; 'should': 0.39; 'your': 0.61; 'dear': 0.64; 'here:': 0.66; 'header:Reply- To:1': 0.71; 'reply-to:no real name:2**0': 0.72; '10:03': 0.84; 'received:bethere.co.uk': 0.84 Subject: Re: How to support a non-standard encoding? From: Tim Wintle To: Ivan In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Organization: Team Rubber Date: Fri, 06 Jan 2012 13:47:26 +0000 Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 87.194.110.230 X-SA-Exim-Mail-From: tim.wintle@teamrubber.com X-SA-Exim-Scanned: No (on mail.netsight.co.uk); SAEximRunCond expanded to false Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: tim.wintle@teamrubber.com List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1325857654 news.xs4all.nl 6981 [2001:888:2000:d::a6]:48006 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:18599 On Fri, 2012-01-06 at 10:03 +0000, Ivan wrote: > Dear All > > I'm developing a python application for which I need to support a > non-standard character encoding (specifically ISO 6937/2-1983, Addendum > 1-1989). If your system version of iconv contains that encoding (mine does) then you could use a wrapped iconv library to avoid re-inventing the wheel. I've got a forked version of the "iconv" package from pypi available here: .. it should work on python2.5-2.7 Tim