From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72734 Path: news.gmane.org!not-for-mail From: Alexandre Krispin Newsgroups: gmane.comp.tex.context Subject: Error while compiling : ! String contains an invalid utf-8 sequence. Date: Fri, 25 Nov 2011 19:50:52 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1676890384==" X-Trace: dough.gmane.org 1322247069 6272 80.91.229.12 (25 Nov 2011 18:51:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 25 Nov 2011 18:51:09 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 25 19:51:05 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RU0rX-0004iv-Ap for gctc-ntg-context-518@m.gmane.org; Fri, 25 Nov 2011 19:51:03 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AAB76CB1D8; Fri, 25 Nov 2011 19:51:02 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id yVeruiP7hgdi; Fri, 25 Nov 2011 19:50:59 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AB2F9CB1B1; Fri, 25 Nov 2011 19:50:58 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 83556CB1B1 for ; Fri, 25 Nov 2011 19:50:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id JvMeWO7yjufY for ; Fri, 25 Nov 2011 19:50:55 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id EC44ECB18F for ; Fri, 25 Nov 2011 19:50:54 +0100 (CET) Original-Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pAPIosdr017259 for ; Fri, 25 Nov 2011 19:50:54 +0100 Original-Received: by wwg38 with SMTP id 38so5610992wwg.2 for ; Fri, 25 Nov 2011 10:50:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=Brspiuuye2kg7hvOLiQxsAxtXpT1Zow0qqAcmxsmMRY=; b=BP7BXZGsSDU8+iUAEapBUZcUHmH3FDUzdleqqVkpmLoiOHIFqN3adpEfRnn1CHs9C4 syqiFLuN4tbN96X7d+KsdVlZ1gFdeJ/vsDe5Loz99BbGhPYuQhexLr8aqB2gZwLX0iV4 Ctvkecc5HaEws39LV95kPfLTfErSo6mx5eJNI= Original-Received: by 10.180.109.106 with SMTP id hr10mr44385156wib.9.1322247052540; Fri, 25 Nov 2011 10:50:52 -0800 (PST) Original-Received: by 10.216.50.208 with HTTP; Fri, 25 Nov 2011 10:50:52 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.45; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0eG1uOS6z - b2d72f6d2320 - 20111125 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:72734 Archived-At: --===============1676890384== Content-Type: multipart/alternative; boundary=e89a8f3b9da5df3a8d04b293a145 --e89a8f3b9da5df3a8d04b293a145 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, I am trying to get japanese displayed in bibliography. But I get the error "! String contains an invalid utf-8 sequence." while compiling with the command "context *tex". Here is the tex file : %%%%%%%%%%%%%%%beginning of file%%%%%% \usemodule[simplefonts] \setmainfont[hiraginokakugothicpro] %a japanese font \enableregime[utf8] \setupbibtex[database=3Dbiblio] \starttext \completepublications \stoptext %%%%%%%%%%%%%%%%%end of file%%%%%%%% And here is the bib file : %%%%%%%%%%%%%%%beginning of file%%%%%%% @article{uzawa2011tpp, author =3D "Hirofumi Uzawa =E5=AE=87=E6=B2=A2=E5=BC=98=E6=96=87, Uchihashi = Katsuto =E5=86=85=E6=A9=8B=E5=85=8B=E4=BA=BA", journal =3D "Sekai =E4=B8=96=E7=95=8C", title =3D "Taidan TPP wa shakaiteki ky=C3=B4ts=C3=BB shihon wo hakai suru =E5=AF=BE=E8=AB=87TPP=E3=81=AF=E7=A4=BE=E4=BC=9A=E7=9A=84=E5=85=B1=E9=80=9A= =E8=B3=87=E6=9C=AC=E3=82=92=E7=A0=B4=E5=A3=8A=E3=81=99=E3=82=8B", year =3D 2011, month =3D "april", publisher =3D "Iwanami shoten =E5=B2=A9=E6=B3=A2=E6=9B=B8=E5=BA=97", pages =3D "62-72", url =3D "http://ci.nii.ac.jp/naid/40018706510/", } %%%%%%%%%%%%%%%end of file%%%%%%%%%% Do someone know how to get ride of utf-8 errors ? Or is this a problem with bibtex, and then should I use anything else to replace it ? (does something like Biber work ?) Thanks for your help. Cheers, Alexandre Krispin --=20 ---------------------------------------------------------------------------= --- Alexandre KRISPIN 41 rue Guynemer | 93200 Saint-Denis | France t=C3=A9l : 06 28 76 69 34 | http://bijutsu.toile-libre.org ---------------------------------------------------------------------------= - --e89a8f3b9da5df3a8d04b293a145 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello,

I am trying to get japanese displayed in bibliography. But I = get the error "! String contains an invalid utf-8 sequence." whil= e compiling with the command "context *tex".

Here is the t= ex file :

%%%%%%%%%%%%%%%beginning of file%%%%%%
\usemodule[simplefonts]
\s= etmainfont[hiraginokakugothicpro] %a japanese font
\enableregime[utf8]\setupbibtex[database=3Dbiblio]

\starttext
\completepublication= s
\stoptext
%%%%%%%%%%%%%%%%%end of file%%%%%%%%

And = here is the bib file :

%%%%%%%%%%%%%%%beginning of file%%%%%%%
@a= rticle{uzawa2011tpp,
author =3D "Hirofumi Uzawa =E5=AE=87=E6=B2=A2= =E5=BC=98=E6=96=87, Uchihashi Katsuto =E5=86=85=E6=A9=8B=E5=85=8B=E4=BA=BA&= quot;,
journal =3D "Sekai =E4=B8=96=E7=95=8C",
title =3D "Taidan= TPP wa shakaiteki ky=C3=B4ts=C3=BB shihon wo hakai suru
=E5=AF=BE=E8=AB= =87TPP=E3=81=AF=E7=A4=BE=E4=BC=9A=E7=9A=84=E5=85=B1=E9=80=9A=E8=B3=87=E6=9C= =AC=E3=82=92=E7=A0=B4=E5=A3=8A=E3=81=99=E3=82=8B",
year =3D 2011,month =3D "april",
publisher =3D "Iwanami shoten =E5=B2= =A9=E6=B3=A2=E6=9B=B8=E5=BA=97",
pages =3D "62-72",
url =3D "http://ci.nii.ac.jp/naid/40018706510/",
}<= br>%%%%%%%%%%%%%%%end of file%%%%%%%%%%

Do someone know how to get r= ide of utf-8 errors ? Or is this a problem with bibtex, and then should I u= se anything else to replace it ? (does something like Biber work ?)

Thanks for your help.

Cheers,
Alexandre Krispin

--
------------------------------------------= ------------------------------------
Alexandre KRISPIN
41 rue Guyneme= r=C2=A0 |=C2=A0 93200 Saint-Denis=C2=A0 |=C2=A0 France
t=C3=A9l : 06 28 76 69 34=C2=A0 |=C2=A0 http://bijutsu.toile-libre.org
-----------= -----------------------------------------------------------------
=
--e89a8f3b9da5df3a8d04b293a145-- --===============1676890384== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1676890384==--