Am Fri, 25 Nov 2011 19:50:52 +0100 schrieb Alexandre Krispin:
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".
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,
Yes. bibtex is an 8-bit application. Your japanese characters consist of three or four 8-bit-blocks. As bibtex has no knowledge that these blocks should be keeped together it can happen that bibtex breaks them in pieces e.g. at line ends and so you end with invalid utf8. You could try to move the blocks a bit around e.g. with braces or spaces so that bibtex finds a break point between the utf8-chars and not in the middle of one of them.
and then should I use anything else to replace it ? (does something like Biber work ?)
Well in latex with biblatex it works and is the recommended solution. But I don't know if context supports biber. -- Ulrike Fischer