Biber 向我发出以下警告:
WARN - The entry 'csorgo__sandor:10' has characters
which cannot be encoded in 'ascii'. Recoding problematic
characters into macros.
这有什么可担心的吗?如果没有,为什么要发出警告?
\documentclass{article}
\usepackage[url=false,citestyle=verbose,backend=biber]{biblatex}
\addbibresource{\jobname.bib}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{csorgo__sandor:10,
year={2008},
author={K\'{e}rchy, Cz\'{e}dli, G. and Hajnal, P. and others},
title={{S}\'{a}ndor {C}s\"{o}rg\H{o}, 1947-2008},
journal={Acta Sci. Math. (Szeged)},
pages={3-5},
volume={74},
}
\end{filecontents}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
答案1
为了消除警告,您可以将.tex
文件的输入代码更改为 utf8。
使用以下更改的 MWE,我没有收到任何警告或错误,biber
并且只有一个与.tex
-file 相关的警告(因为包filecontents
会生成此警告)。我用%!!!!!!!!
您的 MWE 有一些变化:
\RequirePackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@article{csorgo__sandor:10,
year = {2008},
author = {K\'{e}rchy, Cz\'{e}dli, G. and Hajnal, P. and others},
title = {{S}\'{a}ndor {C}s\"{o}rg\H{o}, 1947--2008},
journal = {Acta Sci. Math. (Szeged)},
pages = {3--5},
volume = {74},
}
\end{filecontents*}
\documentclass{article}
\usepackage[utf8]{inputenc} % utf8 support %!!!!!!!!!!!!!!!!!!!!
\usepackage[T1]{fontenc} % code for pdf file %!!!!!!!!!!!!!!!!!!!!
\usepackage[url=false,citestyle=verbose,backend=biber]{biblatex}
\addbibresource{\jobname.bib}
\begin{document}
\nocite{*}
\printbibliography
\end{document}