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


Groups > comp.lang.python > #85383

Re: Python 3.x stuffing utf-8 into SQLite db

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <skip.montanaro@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.06; 'indicated': 0.07; 'odd': 0.07; 'inserted': 0.09; 'subject:into': 0.09; 'cc:addr:python-list': 0.11; 'bytes).': 0.16; 'csv': 0.16; 'spit': 0.16; 'sqlite': 0.16; 'sucked': 0.16; 'to:addr:pearwood.info': 0.16; 'to:addr:steve+comp.lang.python': 0.16; "to:name:steven d'aprano": 0.16; 'windows?': 0.16; 'wrote:': 0.18; 'feb': 0.22; 'cc:addr:python.org': 0.22; 'skip': 0.24; 'question': 0.24; 'cc:2**0': 0.24; 'script': 0.25; 'second': 0.26; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; "d'aprano": 0.31; 'steven': 0.31; 'file': 0.32; 'mac': 0.33; 'no,': 0.35; 'received:google.com': 0.35; 'pm,': 0.38; '2015': 0.84
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 :cc:content-type; bh=8LOMLiAX8RZCgp4ZHjmVduad246M/vEys0V/6kgfU2w=; b=o9bv/bUXnXvZAasCcOPO3XML6z7tpuRIdUowPNYGBKs5yRtl6XPeMVZWt1BCYyDWLm wGqQtObT5Ni85jxiRRv7r/4u1C4YRB8lYwMMmpQVFuw3RbstgtzDGf992oEYM5eX1KHK 4C2EXb+DHLpAkiKmI61BCayBOwx5MUm7rlarOV7CQztiI7x3AlAERih+bnBepP4UWSDO xbhcgSrjc8KEhOTB2uuGf/tpXlYvkDrzOSJRo0+M/MIfW1MH4TlcYYhseIfoboHTeduF EKCtSNS07A8eSVYCkzXTiFxbCx20+P2XlXt5lsnONCZGotwB7KqHq9Z23A2s7VX0awiD 1ODQ==
MIME-Version 1.0
X-Received by 10.60.92.5 with SMTP id ci5mr12437838oeb.26.1423503149100; Mon, 09 Feb 2015 09:32:29 -0800 (PST)
In-Reply-To <54d83ced$0$12895$c3e8da3$5496439d@news.astraweb.com>
References <mailman.18555.1423453501.18130.python-list@python.org> <54d83ced$0$12895$c3e8da3$5496439d@news.astraweb.com>
Date Mon, 9 Feb 2015 11:32:29 -0600
Subject Re: Python 3.x stuffing utf-8 into SQLite db
From Skip Montanaro <skip.montanaro@gmail.com>
To "Steven D'Aprano" <steve+comp.lang.python@pearwood.info>
Content-Type text/plain; charset=UTF-8
Cc Python <python-list@python.org>
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.18567.1423503158.18130.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1423503158 news.xs4all.nl 2881 [2001:888:2000:d::a6]:40964
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:85383

Show key headers only | View raw


On Sun, Feb 8, 2015 at 10:51 PM, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> wrote:
> The second question is, are you
> using Windows?

No, I'm on a Mac (as, I think I indicated in my original note). All
transformations occurred on a Mac. LibreOffice spit out a CSV file
(with those three odd bytes). My script sucked in the CSV file and
inserted data into my SQLite db.

Skip

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


Thread

Python 3.x stuffing utf-8 into SQLite db Skip Montanaro <skip.montanaro@gmail.com> - 2015-02-08 21:44 -0600
  Re: Python 3.x stuffing utf-8 into SQLite db Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-02-09 15:51 +1100
    Re: Python 3.x stuffing utf-8 into SQLite db Skip Montanaro <skip.montanaro@gmail.com> - 2015-02-09 11:32 -0600
    Re: Python 3.x stuffing utf-8 into SQLite db Chris Angelico <rosuav@gmail.com> - 2015-02-10 04:41 +1100
    Re: Python 3.x stuffing utf-8 into SQLite db Zachary Ware <zachary.ware+pylist@gmail.com> - 2015-02-09 14:05 -0600
    Re: Python 3.x stuffing utf-8 into SQLite db Skip Montanaro <skip.montanaro@gmail.com> - 2015-02-09 18:36 -0600
      Re: Python 3.x stuffing utf-8 into SQLite db wxjmfauth@gmail.com - 2015-02-10 00:23 -0800
  Re: Python 3.x stuffing utf-8 into SQLite db mm0fmf <none@mailinator.com> - 2015-02-09 19:41 +0000

csiph-web