Bug#266256: vim: sub-replace-special \u etc. don't change non-ASCII

Pierre Habouzit habouzit@amaretto.inria.fr (Pierre Habouzit), 266256@bugs.debian.org
Tue, 15 Mar 2005 15:02:58 +0100


On Tue, Aug 17, 2004 at 10:42:07AM +0200, Michael Piefel wrote:
> Package: vim
> Version: 1:6.3-013+2
> Severity: normal
>=20
> Changing words with funny characters to upper- or lowercase with
> substitution doesn't work:
>=20
> martin von l=F6wis
> :s/.*/\U\0
> MARTIN VON L=F6WIS

  it appears to be UTF-8 related.  the problem won't show up with a
latin1 encoding.

  moreover, I played with LC_ALL/LC_COLLATE/...

  and even choosing an utf8 locale won't make it work right.

--=20
=B7O=B7  Pierre Habouzit
=B7=B7O
OOO                                                http://www.madism.org