Bug#254339: gtranslator: Search function doesn't handle non-ASCII content

Jordi Mallach Jordi Mallach <jordi@debian.org>, 254339@bugs.debian.org
Mon, 14 Jun 2004 13:22:56 +0200


--x+6KMIRAuhnl3hBn
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jun 13, 2004 at 10:50:20PM +0200, Sebastian Kapfer wrote:
> Gtranslator's search function doesn't work well with non-ASCII text.
> When non-ASCII letters are present in a message in which the search
> pattern is found, gtranslator highlights the wrong passage of text.  For
> example, when searching for "des", it would highlight "es " in the
> following message:
>=20
> Ein paar m=C3=B6gliche Befehle (...) des Bildschirms
>                                  ^^^
>=20
> In this message, when search for naho, it highlights "o=C5=99e.".
>=20
> Zobrazit vybran=C3=A9 p=C5=99=C3=ADkazy naho=C5=99e...
>                             ^^^^
> In short, the selection shifts to the right for each non-ASCII letter
> in the message.  Looks like a classical bytes vs. characters problem to
> me.

Yeah, looks like it to me too. I'll tell Ross.

> Severity important because this is supposed to be an i18n tool. ;-)

Indeed. :)

--=20
Jordi Mallach P=C3=A9rez  --  Debian developer     http://www.debian.org/
jordi@sindominio.net     jordi@debian.org     http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/~jordi/

--x+6KMIRAuhnl3hBn
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAzYqQJYSUupF6Il4RAtXnAKCdiO0LgubVVXk82wCSYMLHeklLkACcCHpm
WxVhnYy0+Ki28mV/KJTgoLw=
=apli
-----END PGP SIGNATURE-----

--x+6KMIRAuhnl3hBn--