Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #63635
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!news.swapon.de!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.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.032 |
| X-Spam-Evidence | '*H*': 0.94; '*S*': 0.00; 'subject: [': 0.09; 'cc:addr:python-list': 0.11; 'jan': 0.12; 'changes': 0.15; 'ah,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:unicode': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'config': 0.24; 'script.': 0.24; 'cc:2**0': 0.24; 'source': 0.25; 'script': 0.25; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'fri,': 0.33; 'problem': 0.35; 'created': 0.35; 'received:google.com': 0.35; 'subject:]': 0.38; 'new': 0.61; 'touch': 0.74; 'ethan': 0.84; 'furman': 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=NF8CLpC2zTQiJzCegXzpdThZfIC+sloTTEIiInBgkZc=; b=nPFnK2qVN1zhmjzX3nPpDh4fYqmFL17OYs4cEpEnuw0iMTUNNLIoXbyw921uCuojLj Qkp6jxjG0gOKtuYuKZTNgKG6pBALdiJVzkhgu+xYJFIIyDzFX139TPi9FsajbNgpQ8X1 q/Pzu0T+UHCn4oy2dZluVuzNPLbN3u5ce/6BzafyutnS5Z/RhwxtHPDqbbgfIwZwfuAg YhEO5pThzfwEn58VXeGKlcZJGm1ejTodqUxdxvLGeA6fDpnzYTVr2zu0q61jLpGU36Mh XtXKdeUxWP08dIzVN8SLMUOV7LunrQQdzrmBqG88d8mwQmfQDYNHuYLzY1gV5P+TICcP Hrbw== |
| MIME-Version | 1.0 |
| X-Received | by 10.66.66.234 with SMTP id i10mr6009435pat.127.1389300998585; Thu, 09 Jan 2014 12:56:38 -0800 (PST) |
| In-Reply-To | <52CEFDB9.5050702@stoneleaf.us> |
| References | <52CEEF37.50504@stoneleaf.us> <52CEFDB9.5050702@stoneleaf.us> |
| Date | Fri, 10 Jan 2014 07:56:38 +1100 |
| Subject | Re: unicode troubles and postgres [SOLVED] |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <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.5287.1389301002.18130.python-list@python.org> (permalink) |
| Lines | 10 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1389301002 news.xs4all.nl 2880 [2001:888:2000:d::a6]:50512 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:63635 |
Show key headers only | View raw
On Fri, Jan 10, 2014 at 6:51 AM, Ethan Furman <ethan@stoneleaf.us> wrote: > The problem was I had created the database from template0 instead of > template1, and 0 is SQL-ASCII while 1 is UTF8. Ah, this is one of the traps with Postgres. This is one of the reasons I prefer not to touch template[01] and to script the initialization of a new database - any config changes are committed to source control as part of that script. ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: unicode troubles and postgres [SOLVED] Chris Angelico <rosuav@gmail.com> - 2014-01-10 07:56 +1100
csiph-web