[DragonFlyBSD - Bug #2877] (New) sed fails when working with UTF-8 locale and non-UTF symbols

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Wed Dec 30 11:20:48 PST 2015


Issue #2877 has been reported by arcade at b1t.name.

----------------------------------------
Bug #2877: sed fails when working with UTF-8 locale and non-UTF symbols
http://bugs.dragonflybsd.org/issues/2877

* Author: arcade at b1t.name
* Status: New
* Priority: Low
* Assignee: 
* Category: Userland
* Target version: 
----------------------------------------
I.e. when some file has a line with upper ASCII symbols:

 * and L<E1>szl<F3> N<E9>meth (Hunspell). Portions created by the Initial Developers

and LANG is set to *.UTF8 running sed on that file results in:

+ /usr/bin/sed -i.bak -e 's|%%LOCALBASE%%|/usr/local|g' /tmp/ports/www/firefox/firefox-43.0.1/extensions/spellcheck/hunspell/glue/mozHunspell.cpp
sed: RE error: Illegal byte sequence

Unsetting lang makes sed silently accept the file.



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list