[XeTeX] Hyperref \hyperlink and \hypertarget not working with accented characters

Heiko Oberdiek heiko.oberdiek at googlemail.com
Wed Nov 2 12:11:26 CET 2011

On Wed, Nov 02, 2011 at 10:44:27AM +0000, Philip TAYLOR (Webmaster, Ret'd) wrote:

> Arthur Reutenauer wrote:
> >>OK.  But could a PDF reader not use the same detection algorithm
> >>as (say) the Microsoft C# Compiler -- "No BOM : ASCII; BOM : UTF-8" ?
> >
> >   Of course not; UTF-8 strings do not necessarily contain a BOM.  Where
> >did you get that strange idea from?
> I didn't :-)  But that is how the Microsoft C# compiler determines
> how to treat string literals in C# programs, and although I initially found
> it confusing, once I discovered the algorithm I never looked back ...
> If it works for Microsoft, why not for Adobe ?

The strings used in destination names are byte strings for Adobe.
It only matters that names for different destinations are different
and can be sorted. There is no "meaning" in the string/name contents
consisting of bytes, not characters.

Yours sincerely
  Heiko Oberdiek

More information about the XeTeX mailing list