Package: vfu Version: 4.21-1 Severity: normal X-Debbugs-Cc: gmtmpa...@gmail.com
Dear Maintainer, Looks like vfu compiled without unicode support. Instead of cyrillic symbols it shows some mess. Please check screenshot attached. Also attached a patch for fixing this problem. Tested with vfu 4.21. This patch is very simple so it can be easily adapted to upstream version -- System Information: Debian Release: 11.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-19-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages vfu depends on: ii bzip2 1.0.8-4 ii libc6 2.31-13+deb11u5 ii libgcc-s1 10.2.1-6 ii libncursesw6 6.2+20201114-2 ii libpcre3 2:8.39-13 ii libstdc++6 10.2.1-6 ii libtinfo6 6.2+20201114-2 ii unzip 6.0-26+deb11u1 vfu recommends no packages. vfu suggests no packages. -- no debconf information
Patch for adding UTF-8 support to vfu file manager --- a/vfu/makefile +++ b/vfu/makefile @@ -40,7 +40,7 @@ AR_1 = $(AR) rv RANLIB_1 = $(RANLIB) CCFLAGS_1 = -I../vstring -I../vslib -I/usr/include/ncurses -O2 $(CFLAGS) $(CPPFLAGS) $(CCDEF) -LDFLAGS_1 = -L../vstring -L../vslib -lvstring -lvslib -lvscon -lpcre -lncurses $(LDFLAGS) $(LDDEF) +LDFLAGS_1 = -L../vstring -L../vslib -lvstring -lvslib -lvscon -lpcre -lncursesw $(LDFLAGS) $(LDDEF) DEPFLAGS_1 = ARFLAGS_1 = TARGET_1 = vfu @@ -226,7 +226,7 @@ AR_3 = $(AR) rv RANLIB_3 = $(RANLIB) CCFLAGS_3 = -I../vstring -I../vslib -I/usr/include/ncurses -O0 -g $(CFLAGS) $(CPPFLAGS) $(CCDEF) -LDFLAGS_3 = -L../vstring -L../vslib -lvstring -lvslib -lvscon -lpcre -lncurses -g $(LDFLAGS) $(LDDEF) +LDFLAGS_3 = -L../vstring -L../vslib -lvstring -lvslib -lvscon -lpcre -lncursesw -g $(LDFLAGS) $(LDDEF) DEPFLAGS_3 = ARFLAGS_3 = TARGET_3 = vfu-debug --- a/vslib/makefile +++ b/vslib/makefile @@ -249,7 +249,7 @@ AR_4 = $(AR) rv RANLIB_4 = $(RANLIB) CCFLAGS_4 = -g -I../vstring -I. -I../yascreen -DUSE_YASCREEN -O0 -DTEST $(CFLAGS) $(CPPFLAGS) $(CCDEF) -LDFLAGS_4 = -g -L../vstring -L. -lvstring -lvslib -lvscon -lpcre -lncurses $(LDFLAGS) $(LDDEF) +LDFLAGS_4 = -g -L../vstring -L. -lvstring -lvslib -lvscon -lpcre -lncursesw $(LDFLAGS) $(LDDEF) DEPFLAGS_4 = ARFLAGS_4 = TARGET_4 = test --- a/vslib/mm.conf +++ b/vslib/mm.conf @@ -67,7 +67,7 @@ AR = $(AR) rv RANLIB = $(RANLIB) CCFLAGS = -g -I../vstring -I. -I../yascreen -DUSE_YASCREEN -O0 -DTEST $(CFLAGS) $(CPPFLAGS) $(CCDEF) -LDFLAGS = -g -L../vstring -L. -lvstring -lvslib -lvscon -lpcre -lncurses $(LDFLAGS) $(LDDEF) +LDFLAGS = -g -L../vstring -L. -lvstring -lvslib -lvscon -lpcre -lncursesw $(LDFLAGS) $(LDDEF) DEPS = libvslib.a libvscon.a SRC = t/test.cpp