Open Xliff opened 4 years ago
The true error is actually the malformed utf8 one. I doubt the file has weird utf8 character in it, or maybe it's opening a weird/invalid file. I will try to have a look today
skarsnik@debian:~/perl6/gptrixie$ /home/skarsnik/perl6/rakudo-2019.11/install/bin/perl6 -e 'my $fh = open "/usr/include/GraphicsMagick/magick/cdl.h"; say $fh.lines' Malformed UTF-8 near bytes 6c e9 6d in block <unit> at -e line 1
it's super weird, it comes from the line 6 with an a é.
skarsnik@debian:~/perl6/gptrixie$ chardetect3 /usr/include/GraphicsMagick/magick/cdl.h /usr/include/GraphicsMagick/magick/cdl.h: ISO-8859-1 with confidence 0.73
I am not sure what I can do about that?
Huh!
OK, so thanks for at least determining the problem. Maybe I can work around it?
Maybe it's a Raku bug? I don't know how it's supposed to handle file encoding
If you have your own copy of the headers, I guess you can remove this line ^^
This was encountered when attempting to run it on GraphicsMagick using
gptrixie --enums --functions --structs --castxml=c99 api.h -I..