Changes between Version 1 and Version 2 of Ticket #43617, comment 7


Ignore:
Timestamp:
May 19, 2014, 8:26:54 PM (10 years ago)
Author:
Ionic (Mihai Moldovan)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43617, comment 7

    v1 v2  
    55The baseline is `bsdsed` as shipped by Apple failing when being run on any input containing non-ASCII characters.
    66
    7 To make matters even more complicated: it fails only when `LC_CTYPE` is set to any UTF-8 locale. Running `LC_CTYPE=C LANG=C texi2dvi --pdf --batch foo.texi` works fine.
     7To make matters even more complicated: it fails only when `LC_CTYPE` is set to any UTF-8 locale BUT the input file has another charset. Running `LC_CTYPE=C LANG=C texi2dvi --pdf --batch foo.texi` works fine.
    88
    99So... I guess `texi2dvi` needs some more code to detect the input file's charset and and change the `LC_CTYPE` and `LANG` environment variables accordingly to some locale supporting the detected charset... but does that make sense?