码迷,mamicode.com
首页 > 其他好文 > 详细

XeTeX: “Failed to convert input string to UTF16″

时间:2015-07-16 00:31:19      阅读:400      评论:0      收藏:0      [点我收藏+]

标签:

http://workbench.haefelinger.it/archives/148

 

XeTeX allows me to hack away directly in Unicode. But what’s even more cool is that I can just use the fonts installed on my system without diving into some of TeX most darkest corners. However, when I compiled a larger document with xelatex, I faced some strange warnings like

This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009)
entering extended mode
[..]
** WARNING ** Failed to convert input string to UTF16...

and I had no explanation where this might come from. After a divide-and-conquerdebugging session, it turned out that my input was just fine. It was rather a setting that caused this warning:

\hypersetup{
     ..
     unicode=true          %  causes UTF-16 warning
}

After having removed that line, all UTF-16 warnings are gone.

XeTeX: “Failed to convert input string to UTF16″

标签:

原文地址:http://www.cnblogs.com/daijkstra/p/4649677.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!