Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2a.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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'received:209.85.223': 0.03; 'subject:Python': 0.06; 'indicated': 0.07; 'odd': 0.07; 'inserted': 0.09; 'subject:into': 0.09; 'windows,': 0.09; 'cc:addr :python-list': 0.11; 'bytes).': 0.16; 'csv': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'spit': 0.16; 'sqlite': 0.16; 'sucked': 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; 'am,': 0.29; 'originally': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; "d'aprano": 0.31; 'steven': 0.31; 'file': 0.32; 'mac': 0.33; 'received:209.85': 0.35; 'no,': 0.35; 'received:google.com': 0.35; 'received:209': 0.37; 'pm,': 0.38; '2015': 0.84; 'to:none': 0.92 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:cc :content-type; bh=hWhaO7Estm9w6s+rShHV6mJVruh/IkbAsqtTF50GF8I=; b=oM01MdS8kTuFOng7QPHvdk+0jnNL5ZXbuDSmq3Iw/yd+s+6SQDFJFQ6UAxiszv0FOo 2xYyQWnJYFgeO2rEEfNGFPj+0zhzT2OyKme7fFgNBiBu8mtVeuCwH/S34wDCRWakmR9n OE2QVBtg/ojorwnIXX7luyF6ud54h1wlgOdh9CDaEQrLR5PaB+ichvnpC7PR2/BG0hmm 59zrl0fBCwpqODZduzxCRy8vsFKSqIYc2RTAQdCYueihEDI4uMuyItU6fEsH0ccvtTGJ bnrSiT7prJ2W5z4AVfcN40ziS1ch3942/GmXxfoFasz30MiIwAgkCOVfLpNrRIeK0Qvb iSMA== MIME-Version: 1.0 X-Received: by 10.107.158.146 with SMTP id h140mr26948533ioe.27.1423503700157; Mon, 09 Feb 2015 09:41:40 -0800 (PST) In-Reply-To: References: <54d83ced$0$12895$c3e8da3$5496439d@news.astraweb.com> Date: Tue, 10 Feb 2015 04:41:40 +1100 Subject: Re: Python 3.x stuffing utf-8 into SQLite db From: Chris Angelico Cc: Python Content-Type: text/plain; charset=UTF-8 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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1423503703 news.xs4all.nl 2973 [2001:888:2000:d::a6]:45859 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:85385 On Tue, Feb 10, 2015 at 4:32 AM, Skip Montanaro wrote: > 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. Did the file originally come from Windows, or was it always on a Mac? ChrisA