GNU bug report logs -
#18520
string ports should not have an encoding
Previous Next
Full log
View this message in rfc822 format
David Kastrup <dak <at> gnu.org> skribis:
> ludo <at> gnu.org (Ludovic Courtès) writes:
>
>> David Kastrup <dak <at> gnu.org> skribis:
>>
>>>> Line/column info remains identical regardless of the encoding, so I tend
>>>> to think it’s more robust to use that.
>>>
>>> Column info remains identical regardless of the encoding? Since when?
>>
>> The character on line L and column M is always there, regardless of
>> whether the file is encoded in UTF-8, Latin-1, etc.
>>
>> Would that work for LilyPond?
>
> Last time I looked, in the following line x was in column 3 in latin-1
> encoding and in column 2 in utf-8 encoding:
>
> üx
I’m not sure what you mean. This line contains two characters: ‘u’ with
umlaut followed by ‘x’. ‘ü’ is in the first column, and ‘x’ in the
second column.
If we get a different column number, that means we’re looking at a
different line. It could be because the encoding of the input port from
which that line was read was incorrectly specified. This is the issue
what would need to be fixed.
Is there a simple way to reproduce the issue with LilyPond?
Thanks,
Ludo’.
This bug report was last modified 10 years and 258 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.