XeTeX: “Failed to convert input string to UTF16″

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.

时间: 2025-01-02 01:35:02

XeTeX: “Failed to convert input string to UTF16″的相关文章

spring mvc出现 Failed to convert property value of type 'java.lang.String' to required type 'java.util.Date' for property 'endtime'

在使用spring mvc中,绑定页面传递时间字符串数据给Date类型是出错: Failed to convert property value of type [java.lang.String] to required type [java.util.Date] for property 'expert.birthdate'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of typ

java.lang.NumberFormatException: For input string: "${jdbc.maxActive}"

一.问题 使用SpringMVC和MyBatis整合,将jdbc配置隔离出来的时候出现下面的错误,百度了很久没有找到解决方法,回家谷歌下,就找到解决方法了,不得不说谷歌就是强大,不废话,下面是具体的错误: Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mySqlDataSource' defined in ServletContext resou

Caused by: java.lang.NumberFormatException: For input string: ""

1.错误描述 java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Long.parseLong(Long.java:453) at java.lang.Long.parseLong(Long.java:483) at org.springfram

springmvc:Failed to convert value of type

环境:springmvc + ajax 前端代码: <script type="text/javascript"> var menu = {id:1,name:"首页"}; $.getJSON("/site/menu/queryMenuPage", { menu :$.toJSON(menu), pageNum : 1, pageSize : 5 }, function(data) { alert(data); }); </sc

iconv() : Detected an illegal character in input string 报错解决(抄的)

HP传给JS字符串用ecsape转换加到url里,又用PHP接收,再用网上找的unscape函数转换一下,这样得到的字符串是UTF-8的,但我需要的是GB2312,于是用iconv转换 开始是这样用的 $str = iconv('UTF-8', 'GB2312', unescape(isset($_GET['str'])? $_GET['str']:'')); 上线后报一堆这样的错:iconv() : Detected an illegal character in input string 考

Caused by: java.lang.NumberFormatException: For input string: &amp;quot;&amp;quot;

1.错误描写叙述 java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Long.parseLong(Long.java:453) at java.lang.Long.parseLong(Long.java:483) at org.springfr

NumberFormatException: For input string: "null"

日志: [INFO-2016/08/04/16/:21/:25]ProjectCommonFormController.(78) - 审批[同意]入参-[string]commonFormDtoStr ===={"commonForm":{"id":"1101115577946385"},"taskId":"322055","wfInstanceId":"11011155778

maven项目中使用redis集群报错: java.lang.NumberFormatException: For input string: &quot;[email&#160;protected]&quot;

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [redis.clients.jedis.JedisCluster]: Constructor threw exception; nested exception is java.lang.NumberFormatException: For input string: "[email protected]" at

关于Failed to convert property value of type [org.quartz.impl.StdScheduler] to required type [org.springframework.scheduling.quartz.SchedulerFactoryBean

在一个业务类有下列属性 private SchedulerFactoryBeanscheduler; public SchedulerFactory BeangetScheduler() { return scheduler; } public void setScheduler(SchedulerFactoryBean scheduler) { this.scheduler = scheduler; } 用spring 进行装配: <property name="scheduler&qu