Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.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.096 X-Spam-Evidence: '*H*': 0.82; '*S*': 0.01; 'subject:Python': 0.06; 'subject:into': 0.09; 'did.': 0.16; 'dump': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'feb': 0.22; 'email addr:gmail.com>': 0.22; 'skip': 0.24; 'mon,': 0.24; '>': 0.26; 'header:In-Reply-To:1': 0.27; 'to:2**1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'stuff': 0.32; 'another': 0.32; 'something': 0.35; 'received:google.com': 0.35; 'thanks': 0.36; 'url:org': 0.36; 'should': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'to:addr:gmail.com': 0.65; '"just': 0.84; '2015': 0.84; 'fails,': 0.84; 'url:latest': 0.91; 'ware': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=wSJmNUFJgyHawAI21JtJAZyma6IP7OCoLXodb6qZ6gw=; b=YWsJtOZfrjA5GMFzOs6SV7862DonaAbGaTlZ0BN6+2+j+14sopmSC5Ah8YYygy6MYe tcY/qo+YDNJppVwHRHF0kDNQ6WjmYErrZSmuH+MZMrTHn06ukctas5KR/L1XbEfaXYYP s5WftPpD5lZYkP2MDVTR01kbTKPFaqqzGS5dLot4HcPIEA0pyuOjtKL2tngo9bnPxLYK ctO68MgahQoQcLgg40RIJyA8oLurAVVpKaik+hITlN5KyDKTH1TtJdn8fLBnj7KbMZDY Bo9iYUL8RZQcsIUG95OBUGoyivtv/Tk+3LyWqKKFp6/0Ali9QiNCUx/4d3jVOa/4DpSO Fo5A== MIME-Version: 1.0 X-Received: by 10.202.51.137 with SMTP id z131mr12980062oiz.10.1423528611685; Mon, 09 Feb 2015 16:36:51 -0800 (PST) In-Reply-To: References: <54d83ced$0$12895$c3e8da3$5496439d@news.astraweb.com> Date: Mon, 9 Feb 2015 18:36:51 -0600 Subject: Re: Python 3.x stuffing utf-8 into SQLite db From: Skip Montanaro To: Zachary Ware , Python Content-Type: multipart/alternative; boundary=001a113cd3da3a3234050eb1151e X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list 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: 46 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1423528619 news.xs4all.nl 2855 [2001:888:2000:d::a6]:35235 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:85414 --001a113cd3da3a3234050eb1151e Content-Type: text/plain; charset=UTF-8 On Mon, Feb 9, 2015 at 2:38 PM, Skip Montanaro wrote: > On Mon, Feb 9, 2015 at 2:05 PM, Zachary Ware > wrote: > > If all else fails, you can try ftfy to fix things: > > http://ftfy.readthedocs.org/en/latest/ > > Thanks for the pointer. I would prefer to not hand-mangle this stuff > in case I get another database dump from my USMS friends. Something > like ftfy should help things "just work". > And indeed it did. Thanks Zachary. Skip --001a113cd3da3a3234050eb1151e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= On Mon, Feb 9, 2015 at 2:38 PM, Skip Montanaro <skip.montanaro@gmai= l.com> wrote:
On Mon, Feb 9, 2015 at 2:05 PM, Zachary Ware
<zachary.ware+pylist@= gmail.com> wrote:
> If all else fails, you can try ftfy to fix things:
> h= ttp://ftfy.readthedocs.org/en/latest/

Thanks for the pointer. I would prefer to not hand-mangle this stuff=
in case I get another database dump from my USMS friends. Something
like ftfy should help things "just work".

And indeed it did. Thanks Zachary.<= /div>

Skip


--001a113cd3da3a3234050eb1151e--