bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sed error message reports byte position instead of char position whe


From: Eli Zaretskii
Subject: Re: sed error message reports byte position instead of char position when program contains UTF-8
Date: Thu, 16 May 2013 16:44:58 +0300

> Date: Thu, 16 May 2013 09:33:42 -0400
> From: John Cowan <address@hidden>
> Cc: Camion SPAM <address@hidden>, address@hidden,
>       address@hidden, address@hidden
> 
> Eli Zaretskii scripsit:
> 
> > How do you expect Sed to know what character set is being used for the
> > command line?  Are we again going to limit ourselves to the current
> > locale's charset?
> 
> I think it is a reasonable assumption that the command line uses the
> same encoding that is used for the input files.

Yes, mostly.  But how do you know what is the encoding of the input
files?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]