Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm trying to use a .bib that contains CJK characters for my document which uses biblatex-chicago and biber. However, biber writes out the bibliography in ascii when I run

biber <filename>.bcf

This prevents pdflatex to process the bibliography properly, and the references are garbled. My document is:

\documentclass{article}
\usepackage[american]{babel}
\usepackage[babel]{csquotes}
\usepackage[notes,isbn=false,backend=biber,bibencoding=utf8]{biblatex-chicago}  
\addbibresource{try.bib}
\begin{document}

Test\autocite{Xunisha2012}

\end{document}

and my .bib is:

@book{Xunisha2012,
Author = {{Xu Nisha}},
nameaddon = {徐倪莎},
Publisher = {Payot},
Title = {Yi jiu qi qi nianjie de gaokao},
titleaddon = {一九七七年届的高考},
usere = {The 1977 session of the university entry examinations},
Year = {2013}}

Thank you for your help!

Update

When I run biber with unicode:

biber -u -U try.bcf

I get nothing in the CJK fields instead of the garbled text from before; still no CJK output.

share|improve this question
1  
Please have a look at How does one type Chinese in LaTeX? first. You did even not configure Chinese fonts in the TeX file. –  Leo Liu Aug 11 '12 at 5:22
    
Thank you, that solved the problem! –  Mårten Aug 11 '12 at 6:40
add comment

1 Answer

Thanks to Leo Liu's comment, the problem is now solved. When I write my file like this:

\documentclass{article}

\usepackage[fallback]{xeCJK}
\setmainfont{Gentium Plus}
\setCJKmainfont{SimSun}
\setCJKfallbackfamilyfont{\CJKrmdefault}{NanumMyeongjo}

%\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[notes,isbn=false,backend=biber,bibencoding=utf8]{biblatex-chicago}  
\addbibresource{try.bib}

\begin{document}

中國중국ちゅうごく
Test\autocite{Xunisha2012}

\end{document}

And run

xelatex

it works.

share|improve this answer
    
I deleted the unnecessary lines in your answer. Now you can accept your own answer. –  Leo Liu Aug 11 '12 at 8:07
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.