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: 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: <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 To: "Steven D'Aprano" Content-Type: text/plain; charset=UTF-8 Cc: Python 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: 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 On Sun, Feb 8, 2015 at 10:51 PM, Steven D'Aprano 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