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


Groups > comp.lang.python > #85385

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!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@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; '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 <CANc-5UxTFr-jUbDxEpWyBUFF1sznRPJ2ji6aGicCaru9V5rc_Q@mail.gmail.com>
References <mailman.18555.1423453501.18130.python-list@python.org> <54d83ced$0$12895$c3e8da3$5496439d@news.astraweb.com> <CANc-5UxTFr-jUbDxEpWyBUFF1sznRPJ2ji6aGicCaru9V5rc_Q@mail.gmail.com>
Date Tue, 10 Feb 2015 04:41:40 +1100
Subject Re: Python 3.x stuffing utf-8 into SQLite db
From Chris Angelico <rosuav@gmail.com>
Cc Python <python-list@python.org>
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 <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.18569.1423503703.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Tue, Feb 10, 2015 at 4:32 AM, Skip Montanaro
<skip.montanaro@gmail.com> wrote:
> 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.

Did the file originally come from Windows, or was it always on a Mac?

ChrisA

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