sed error message reports byte position instead of char position when program contains UTF-8

Camion SPAM <[email protected]>
Newsgroups gmane.comp.gnu.utils.bugs
Message-ID <[email protected]>
In case of error in a sed program, sed error message reports byte position instead of char position when program contains UTF-8.

$ sed 's/qwerty///'
sed: -e expression #1, char 11: unknown option to `s'
$ sed 's/qwérty///' 
sed: -e expression #1, char 12: unknown option to `s'
$ sed --version
GNU sed version 4.2.1

(For if it is not obvious, there is an "e acute" instead of an "e" in the second expression)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.