Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E5DDC99FF for ; Sun, 15 Apr 2012 16:46:48 +0000 (UTC) Received: (qmail 72558 invoked by uid 500); 15 Apr 2012 16:46:46 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 72535 invoked by uid 500); 15 Apr 2012 16:46:46 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 72527 invoked by uid 99); 15 Apr 2012 16:46:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Apr 2012 16:46:46 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Janne.Jalkanen@ecyrd.com designates 87.108.86.67 as permitted sender) Received: from [87.108.86.67] (HELO mail.ecyrd.com) (87.108.86.67) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Apr 2012 16:46:40 +0000 Received: from [192.168.0.10] (cs78178071.pp.htv.fi [62.78.178.71]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.ecyrd.com (Postfix) with ESMTPSA id 37C1D97C132 for ; Sun, 15 Apr 2012 19:46:18 +0300 (EEST) From: Janne Jalkanen Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/alternative; boundary=Apple-Mail-7--281107479 Subject: Re: cql shell error Date: Sun, 15 Apr 2012 19:46:17 +0300 In-Reply-To: To: user@cassandra.apache.org References: Message-Id: <9B7CCB08-6961-4E08-A462-9BA22F20B37E@ecyrd.com> X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-7--281107479 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 You might have hit this bug: = https://issues.apache.org/jira/browse/CASSANDRA-4003 /Janne On Apr 15, 2012, at 17:21 , Tamar Fraenkel wrote: > Hi! > I have an error when I try to read column value using cql but I can = read it when I use cli. >=20 > When I read in cli I get: > get cf['a52efb7a-b2ea-417b-b54a-9d6a2ebf6d71']['i:nwtp_name']=3D > =3D> (column=3Di:nwtp_name, value=3DG=EF=BF=BD=C2=BCnter Grass's = Israel poem provokes outrage, timestamp=3D1333816116526001) >=20 > When I try to read with cqlsh I get: > 'ascii' codec can't encode character u'\u2019' in position 5: ordinal = not in range(128) >=20 > Do I need to save only ascii chars, or can I read it somehow using = cql? >=20 > Thanks >=20 >=20 > Tamar Fraenkel=20 > Senior Software Engineer, TOK Media=20 >=20 > >=20 > tamar@tok-media.com > Tel: +972 2 6409736=20 > Mob: +972 54 8356490=20 > Fax: +972 2 5612956=20 >=20 >=20 >=20 --Apple-Mail-7--281107479 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 https://issu= es.apache.org/jira/browse/CASSANDRA-4003

/Jan= ne

On Apr 15, 2012, at 17:21 , Tamar Fraenkel = wrote:

Hi!
I have an error when I try to = read column value using cql = but I can read it when I use cli.

When I read in cli = I get:
 get = cf['a52efb= 7a-b2ea-417b-b54a-9d6a2ebf6d71']['i:nwtp_na= me']=3D
=3D> (column=3Di:nwtp_na= me, value=3DG=EF=BF=BD=C2=BCnter Grass's Israel poem provokes outrage, = timestamp=3D1333816116526001)

When I try to read with cqlsh I get:
'ascii' codec can't encode character u'\u2019' in position 5: ordinal not in = range(128)

Do I need to save only ascii chars, or can I read it somehow using cql?

Thanks


Tamar Fraenkel 
Senior = Software Engineer, TOK Media 

<tokLogo.png>




= --Apple-Mail-7--281107479--