[buildd-tools-devel] Bug#765886: Bug#765886: Bug#765886: Bug#765886: sbuild: [PATCH] Replaced all unicode-printed chars with plain ASCII

Lennart Sorensen lsorense at csclub.uwaterloo.ca
Mon Oct 5 19:37:51 UTC 2015


On Mon, Oct 05, 2015 at 10:57:44AM -0700, Dima Kogan wrote:
> Yes. It doesn't break my terminal as badly as the sbuild boxes, but I
> see garbage with gcc output sometimes. Doesn't happen all the time, and
> I never tried to figure out what specifically makes it confused. But if
> they stuck to the plain old quotes that were there for decades, it would
> just work, and nobody would complain that the quotes are "ugly".

It is simply utf8 support:

lennartsorensen:/tmp# LANG=C.UTF-8 gcc -c test.c
test.c: In function ‘main’:
test.c:10:2: error: expected ‘;’ before ‘printf’
  printf("[%.2x][%.2x] -> %d\n", input[0], input[1], value);
  ^
lennartsorensen:/tmp# LANG=C gcc -c test.c
test.c: In function 'main':
test.c:10:2: error: expected ';' before 'printf'
  printf("[%.2x][%.2x] -> %d\n", input[0], input[1], value);
  ^

The quotes around the function name and other things change to fancy
begin/end quotes when unicode support is detected in the chosen LANG.

-- 
Len Sorensen



More information about the Buildd-tools-devel mailing list