> 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 ?) >
Same here. It messes up when converting .bib to .bbl. Maybe check your bbl file, too. Mine looks like this, for example: a={{Hirofumi Uzawa~宇沢弘文}} You could try to write the .bbl file directly yourself, although that is not a comfortable option, if you have many Japanese entries. Apart from that there's not much coming to mind. ___________________________________________________________________________________ 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 ___________________________________________________________________________________