Package: isoquery
Version: 0.13-1
Severity: normal
Tags: patch
It seems that in some country names are used wide characters, which might be a
problem while cout'ing them to the standard output.
$ isoquery
AF AFG 004 Afghanistan
terminate called after throwing an instance of 'Glib::ConvertError'
AX ALA 248 Aborted
$ isoquery ALA
terminate called after throwing an instance of 'Glib::ConvertError'
AX ALA 248 Aborted
$ isoquery ALB
AL ALB 008 Albania
... and so on.
The following change fixes the problem:
--- xmldata.cpp.orig 2008-04-06 14:55:02.000000000 +0200
+++ xmldata.cpp 2008-04-06 14:55:29.000000000 +0200
@@ -289,7 +289,7 @@
unsetenv("LANGUAGE");
}
}
- cout << outputname;
+ wcout << outputname;
if (use_null_character) {
cout << ends;
} else {
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=bg_BG, LC_CTYPE=bg_BG (charmap=CP1251)
Shell: /bin/sh linked to /bin/bash
Versions of packages isoquery depends on:
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libgcc1 1:4.3.0-3 GCC support library
ii libglibmm-2.4-1c2a 2.16.1-1 C++ wrapper for the GLib toolkit
(
ii libstdc++6 4.3.0-3 The GNU Standard C++ Library v3
ii libxml++2.6-2 2.22.0-1 A C++ interface to the GNOME XML
l
Versions of packages isoquery recommends:
ii iso-codes 2.0-1 ISO language, territory,
currency,
-- no debconf information
--
pub 4096R/0E4BD0AB 2003-03-18 <people.fccf.net/danchev/key pgp.mit.edu>
fingerprint 1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]