Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.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.023 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'integer,': 0.09; 'am,': 0.14; 'received:209.85.214.174': 0.14; 'received:mail- iw0-f174.google.com': 0.14; 'wrote:': 0.14; '8:40': 0.16; 'subject:Unicode': 0.16; 'wolfgang': 0.16; 'tue,': 0.17; 'header :In-Reply-To:1': 0.21; 'message-id:@mail.gmail.com': 0.28; 'received:209.85.214': 0.28; 'instead': 0.29; 'to:addr:python- list': 0.33; 'daniel': 0.34; '8bit%:8': 0.36; 'received:google.com': 0.37; 'received:209.85': 0.37; 'instead.': 0.37; 'subject:: ': 0.38; '8bit%:6': 0.39; 'received:209': 0.39; 'to:addr:python.org': 0.39; 'best': 0.60; '31,': 0.65 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=afp6hjEKkNwD2vrFkiTFkJyjQpDgLL5dS5coyPkDJrM=; b=pLrIbchBygGFQGyhmknLi45S/tvQUA1e6p1U5wQZjujHAn+rSsoackguguJ1NB4Q9J Ovp2iC0+qYurk01rAPkzulSRMecNm30oqDNvpwfdRE+JbgWalDDSpldDYqZ+rVh/bNZI b2G2r0scBhxnd+4iV5JnMFsleei2ZX2Spo3zM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=qGS9wqlFmS0lHqQcN2HgVzEkfWWJSOWDtZ+o2qc+C5AOio3CRenHJ1l2UWSVARqgvC zoboaWcjVnwjL5loihG+BCLyei2K89ckbtqPNuq5S1UbneT2/raOgTPY0B4GBtQFGvFR yHKgVlqHTPunaeyyYvOSuzvvPmgf+Os279rAA= MIME-Version: 1.0 In-Reply-To: <4de40ee8$0$6623$9b4e6d93@newsspool2.arcor-online.net> References: <4de40ee8$0$6623$9b4e6d93@newsspool2.arcor-online.net> Date: Tue, 31 May 2011 22:32:25 +1100 Subject: Re: sqlalchemy and Unicode strings: errormessage From: Daniel Kluev To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 18 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1306841548 news.xs4all.nl 49177 [::ffff:82.94.164.166]:41732 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:6724 On Tue, May 31, 2011 at 8:40 AM, Wolfgang Meiners wrote: > metadata =3D MetaData('sqlite://') > a_table =3D Table('tf_lehrer', metadata, > =A0 =A0Column('id', Integer, primary_key=3DTrue), > =A0 =A0Column('Kuerzel', Text), > =A0 =A0Column('Name', Text)) Use UnicodeText instead of Text. > A_record =3D A_class('BUM', 'B=E4umer') If this is python2.x, use u'B=E4umer' instead. --=20 With best regards, Daniel Kluev