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


Groups > comp.lang.python > #18603

Re: How to support a non-standard encoding?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!tudelft.nl!txtfeed1.tudelft.nl!multikabel.net!newsfeed20.multikabel.net!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <ivan@llaisdy.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.034
X-Spam-Evidence '*H*': 0.93; '*S*': 0.00; 'pypi': 0.04; 'python': 0.08; 'url:github': 0.09; 'library': 0.13; 'non-standard': 0.16; 'os.': 0.16; 'seine': 0.16; 'subject:non': 0.16; 'cc:addr:python- list': 0.16; "wouldn't": 0.17; 'wrote:': 0.18; 'help.': 0.19; '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; 'thanks': 0.31; 'app': 0.31; "i've": 0.31; 'version': 0.32; 'header:User-Agent:1': 0.33; 'fri,': 0.34; 'character': 0.34; 'too': 0.34; 'subject:How': 0.35; '...': 0.36; 'depend': 0.37; 'encoding': 0.37; 'received:192': 0.37; 'could': 0.37; 'received:org': 0.38; "i'd": 0.39; 'should': 0.39; 'received:192.168': 0.40; 'your': 0.61; 'received:77': 0.63; 'skip:w 30': 0.63; 'dear': 0.64; 'wishes': 0.64; 'here:': 0.66; '10:03': 0.84; 'encoding,': 0.84; 'received:77.75': 0.84
Date Fri, 06 Jan 2012 14:03:56 +0000
From Ivan Uemlianin <ivan@llaisdy.com>
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0
MIME-Version 1.0
To tim.wintle@teamrubber.com
Subject Re: How to support a non-standard encoding?
References <je6guf$pns$1@localhost.localdomain> <1325857646.7790.4.camel@tim-laptop>
In-Reply-To <1325857646.7790.4.camel@tim-laptop>
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4480.1325860009.27778.python-list@python.org> (permalink)
Lines 56
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1325860009 news.xs4all.nl 6955 [2001:888:2000:d::a6]:48410
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:18603

Show key headers only | View raw


Dear Tim

Thanks for your help.

 > If your system version of iconv contains that encoding, ...

Alas, it doesn't:

     $ iconv -l |grep 6937
     $

Also, I'd like to package the app so other people could use it, so I 
wouldn't want to depend too much on the local OS.

Best wishes

Ivan


On 06/01/2012 13:47, Tim Wintle wrote:
> 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:
>
> <https://github.com/timwintle/iconv-python>
>
> .. it should work on python2.5-2.7
>
> Tim
>


-- 
============================================================
Ivan A. Uemlianin
Llaisdy
Speech Technology Research and Development

                     ivan@llaisdy.com
                      www.llaisdy.com
                          llaisdy.wordpress.com
               github.com/llaisdy
                      www.linkedin.com/in/ivanuemlianin

     "Froh, froh! Wie seine Sonnen, seine Sonnen fliegen"
                      (Schiller, Beethoven)
============================================================

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


Thread

How to support a non-standard encoding? Ivan <ivan@llaisdy.com> - 2012-01-06 10:03 +0000
  Re: How to support a non-standard encoding? Tim Wintle <tim.wintle@teamrubber.com> - 2012-01-06 13:47 +0000
  Re: How to support a non-standard encoding? Ivan Uemlianin <ivan@llaisdy.com> - 2012-01-06 14:03 +0000
  Re: How to support a non-standard encoding? jmfauth <wxjmfauth@gmail.com> - 2012-01-06 12:00 -0800
    Re: How to support a non-standard encoding? Tim Wintle <tim.wintle@teamrubber.com> - 2012-01-06 20:42 +0000
      Re: How to support a non-standard encoding? Ivan <ivan@llaisdy.com> - 2012-01-08 08:50 +0000
    Re: How to support a non-standard encoding? Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2012-01-08 12:16 +0100

csiph-web