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

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Sat Feb 22 00:45:24 PST 2025


Задача #2877 була оновлена arcade at b1t.name.

Параметр Статус змінився з New на Closed

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

* Автор: arcade at b1t.name
* Статус: Closed
* Пріоритет: Low
* Категорія: Userland
* Версія: 6.4
* Початок: 2015-12-30
----------------------------------------
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