[Debian-Islamic-maintainers] Bug#755269: itools: ipraytime assumes charset=ISO-8859-1

Justin B Rye justin.byam.rye at gmail.com
Sat Jul 19 13:36:57 BST 2014


Package: itools
Version: 1.0-3
Severity: minor
Tags: l10n

ipraytime ignores my en_GB.UTF-8 locale and outputs its prayer
schedules in ISO-8859-1, so the DEGREE SIGNs in its lattitude,
longitude, and qibla lines instead appear in my terminal as
REPLACEMENT CHARACTERs:

 Prayer schedule for,
  City             : Makkah
  Latitude         : 021� 25' 14" N
  Longitude        : 039� 49' 49" E
  Angle Method     : Umm Al-Qurra University
  TimeZone         : UTC+3.0
  Qibla            : 067� 26' 21" W of true North
  [...]

I'm no C programmer, but I doubt it should be defining the degree
symbol unconditionally at ipraytime.c line 463 as:

   const char symb = (char)0xB0;

Workaround: "ipraytime | iconv -f iso-9959-1 -t utf-8".  I'd call it
"Severity: wishlist" if this was 2004, and "normal" if it affected
other binaries in the package.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (50, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.15-trunk-686-pae (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages itools depends on:
ii  libc6    2.19-7
ii  libitl0  0.7.0-3
ii  perl     5.18.2-6

itools recommends no packages.

itools suggests no packages.

-- no debconf information
-- 
JBR	with qualifications in linguistics, experience as a Debian
	sysadmin, and probably no clue about this particular package




More information about the Debian-islamic-maintainers mailing list