ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alexandre Krispin <k.m.alexandre@gmail.com>
To: ntg-context@ntg.nl
Subject: Error while compiling : ! String contains an invalid utf-8 sequence.
Date: Fri, 25 Nov 2011 19:50:52 +0100	[thread overview]
Message-ID: <CAA5sP+_=PCNEfD_mXHBUV88FCT8s44bo=tr-SmNqPAHt1RgEdA@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1489 bytes --]

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=biblio]

\starttext
\completepublications
\stoptext
%%%%%%%%%%%%%%%%%end of file%%%%%%%%

And here is the bib file :

%%%%%%%%%%%%%%%beginning of file%%%%%%%
@article{uzawa2011tpp,
author = "Hirofumi Uzawa 宇沢弘文, Uchihashi Katsuto 内橋克人",
journal = "Sekai 世界",
title = "Taidan TPP wa shakaiteki kyôtsû shihon wo hakai suru
対談TPPは社会的共通資本を破壊する",
year = 2011,
month = "april",
publisher = "Iwanami shoten 岩波書店",
pages = "62-72",
url = "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

-- 
------------------------------------------------------------------------------
Alexandre KRISPIN
41 rue Guynemer  |  93200 Saint-Denis  |  France
tél : 06 28 76 69 34  |  http://bijutsu.toile-libre.org
----------------------------------------------------------------------------

[-- Attachment #1.2: Type: text/html, Size: 1852 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

             reply	other threads:[~2011-11-25 18:50 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-25 18:50 Alexandre Krispin [this message]
2011-11-25 19:03 ` Christian
2011-11-25 20:09   ` Hans Hagen
2011-11-25 22:13     ` Alexandre Krispin
2011-11-25 23:56     ` Alexandre Krispin
2011-11-27 13:33       ` Mojca Miklavec
2011-11-27 16:13         ` Alexandre Krispin
2011-11-28  9:20       ` Wolfgang Schuster
2011-12-07  8:28     ` Thomas A. Schmitz
2011-12-07 16:37       ` Alexandre Krispin
2011-12-07 17:45         ` Hans Hagen
2011-11-26  9:35 ` Ulrike Fischer
2011-11-26 10:44   ` Alexandre Krispin
2011-11-26 11:39     ` Wolfgang Schuster
2011-11-26 11:41       ` Alexandre Krispin
     [not found] <mailman.901.1322405047.4232.ntg-context@ntg.nl>
2011-11-28  7:08 ` S Barmeier
2011-11-28  8:42   ` Alexandre Krispin
2011-11-30 12:25     ` Alexandre Krispin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAA5sP+_=PCNEfD_mXHBUV88FCT8s44bo=tr-SmNqPAHt1RgEdA@mail.gmail.com' \
    --to=k.m.alexandre@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).