[XeTeX] Problem with \XeTeXinputencoding
Jonathan Kew
jonathan at jfkew.plus.com
Fri Aug 1 16:00:59 CEST 2008
On 1 Aug 2008, at 2:02 PM, Jonathan Kew wrote:
> On 1 Aug 2008, at 1:50 PM, Xiao Cui wrote:
>
>> Thank you both!
>>
>> I have now got a solution: just add an empty line at the end of the
>> file.
>>
>
> Yes, that will avoid the problem. However, it really is a xetex bug:
> if the last line of the file does not end with a newline (CR/LF/CRLF),
> and if you're using \XeTeXinputencoding to set a specific encoding
> rather than using the default built-in Unicode support, then the last
> line may be ignored.
This is now fixed in the xetex source (v. 0.999.4). For older
versions, simply ensure that the last line of the file ends with a
newline.
JK
More information about the XeTeX
mailing list