[tex-k] [tlbuild] 2010 builds

Peter Breitenlohner peb at mppmu.mpg.de
Wed Jun 9 12:11:58 CEST 2010


On Tue, 8 Jun 2010, Jukka Salmi wrote:

> Hmm, no spaces here but ASCII 180 (0xb4) instead as it should be:
>
> $ sed -n '85{p;q;}' source/utils/chktex/chktex-1.6.4/Test.tex | hexdump -C
> 00000000  49 73 20 74 68 69 73 20  61 6e 20 22 65 78 61 6d  |Is this an "exam|
> 00000010  70 6c 65 22 2c 20 6f 72  20 69 73 20 69 74 20 61  |ple", or is it a|
> 00000020  6e 20 b4 65 78 61 6d 70  6c 65 b4 2e 0a           |n .example...|
> 0000002d

Hi Jukka,

so it seems this is a locale issue.

(1) What is your locale and what is isspace(180) in that locale?

(2) Can you reactivate the test, i.e., remove the exit 0, and instead add
   LC_ALL=C; export LC_ALL
and see if that helps?

If so, I'd still not consider this as a good solution, because chktex should
certainly not depend on the current locale when deciding if a character is a
space character.  Or should it????

Regards
Peter Breitenlohner <peb at mppmu.mpg.de>


More information about the tex-k mailing list