On Sat, Feb 26, 2022 at 08:46:35PM +0000, Gavin Smith wrote:
> On Sat, Feb 26, 2022 at 08:06:52PM +0000, Gavin Smith wrote:
> > Does that fix the issue with this test?
> 
> I think there needs to be some encoding in the URLs so there is not
> output like
> 
> <li><a href="osé.xhtml#Chapt_00eaur">1 Chapteùr</a></li>
> 
> I suppose it should just be the file encoding, always UTF-8 for
> XML output.

The whole output file is encoded, the problem is that you encoded
$image_file, it should not be, it is assumed to be decoded from the
document. image_path could be encoded, but then the encoding should be
passed such that it can be re-decoded, for error messages, for instance.

-- 
Pat

Reply via email to