\Uchar errors with "FFFD
\Uchar"FFFD \bye errors with ! String contains an invalid utf-8 sequence. l.93 \Uchar"FFFD (^^^^fffd works) -- Ulrike Fischer http://www.troubleshooting-tex.de/
Am Fri, 12 Aug 2022 20:08:06 +0200 schrieb Ulrike Fischer:
\Uchar"FFFD \bye
errors with
! String contains an invalid utf-8 sequence. l.93 \Uchar"FFFD
(^^^^fffd works)
Addition: while ^^^^fffd directly works, \detokenize {^^^^fffd} fails with the same error -- Ulrike Fischer http://www.troubleshooting-tex.de/
Il sab 13 ago 2022, 00:59 Ulrike Fischer
Am Fri, 12 Aug 2022 20:08:06 +0200 schrieb Ulrike Fischer:
\Uchar"FFFD \bye
errors with
! String contains an invalid utf-8 sequence. l.93 \Uchar"FFFD
(^^^^fffd works)
Addition: while ^^^^fffd directly works, \detokenize {^^^^fffd} fails with the same error
Hans has made a patch, I will submit it next Monday -- luigi
Am Sat, 13 Aug 2022 20:26:11 +0200 schrieb luigi scarso:
Hans has made a patch, I will submit it next Monday
Thanks ;-) Unrelated, but pdf/A-4 will require that there is no /Info dictionary. In pdftex Thanh implemented \pdfomitinfodict to suppress it. Could luatex please follow? Ulrike
Il Sab 13 Ago 2022, 21:19 Ulrike Fischer
Am Sat, 13 Aug 2022 20:26:11 +0200 schrieb luigi scarso:
Hans has made a patch, I will submit it next Monday
Thanks ;-)
Unrelated, but pdf/A-4 will require that there is no /Info dictionary. In pdftex Thanh implemented \pdfomitinfodict to suppress it. Could luatex please follow?
Ulrike
_______________________________________________ dev-luatex mailing list dev-luatex@ntg.nl https://mailman.ntg.nl/mailman/listinfo/dev-luatex
Also on next Monday.
On Sun, Aug 14, 2022 at 10:41 AM luigi scarso
Il Sab 13 Ago 2022, 21:19 Ulrike Fischer
ha scritto: Am Sat, 13 Aug 2022 20:26:11 +0200 schrieb luigi scarso:
Hans has made a patch, I will submit it next Monday
Thanks ;-)
Unrelated, but pdf/A-4 will require that there is no /Info dictionary. In pdftex Thanh implemented \pdfomitinfodict to suppress it. Could luatex please follow?
Ulrike
_______________________________________________ dev-luatex mailing list dev-luatex@ntg.nl https://mailman.ntg.nl/mailman/listinfo/dev-luatex
Also on next Monday.
Done. -- luigi
On 8/12/2022 8:08 PM, Ulrike Fischer wrote:
\Uchar"FFFD \bye
errors with
! String contains an invalid utf-8 sequence. l.93 \Uchar"FFFD
(^^^^fffd works) In luatex we have this in the string converter
if (val == 0xFFFD) utf_error(); because 0xFFFD is the intial value. In luametatex I just return 0xFFFD on an invalid utf but if we want to be compatible in luatex we need to issue that message on an invalid characters so we can start out with initial -1 and change it to if (val < 0) utf_error(); that way FFFD will fall through Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
luigi scarso
-
Ulrike Fischer