[Pkg-geany-team] Bug#1063509: geany-common: Builtin C tags autocomplete incorrectly due to incorrect UTF-8 conversion of tags files

Zeb Figura zfigura at codeweavers.com
Fri Feb 9 04:20:17 GMT 2024


Package: geany-common
Version: 2.0-1
Severity: normal
Tags: patch

Dear Maintainer,

Commit 1f2bd775333f01cf3e2d521f2c817ad8ee0247d6 ("Convert ctags files from iso-8859-1 to utf-8") is incorrect and should be reverted. The relevant file is not in iso-8859-1; it is essentially an ASCII file that uses high octets as special separators. Converting breaks the file parsing.

In practice the effects of this can be seen by opening a file, typing the first few characters of e.g. "memcpy", and attempting to complete. Geany will suggest the nonsense string:

  memcpyÌ1024Í(void * __dest, const void * __src, size_t __n)Ö0Ïvoid *

Similar failures can be seen with any other builtin C symbol.

I've tagged this with "patch", but the patch is just to revert the relevant commit.

-- System Information:
Debian Release: trixie/sid
  APT prefers testing-debug
  APT policy: (700, 'testing-debug'), (700, 'testing'), (650, 'stable-debug'), (650, 'stable'), (600, 'unstable-debug'), (600, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.6.13-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information


More information about the Pkg-geany-team mailing list