Bug#499389: austria.pal is ISO-8859 encoded

2008-09-19 Thread Martijn van Oosterhout
Fix committed to upstream CVS. Thanks for the report.

Have a nice day,

On Thu, Sep 18, 2008 at 01:50:46PM +0200, Carsten Hey wrote:
> On Thu, Sep 18, 2008 at 11:38:26AM +0200, Philipp Kern wrote:
> > pal barfs when austria.pal is used as its calendar file is ISO-8859
> > encoded, instead of UTF-8:
> >
> > ERROR: Event text 'Heilige Dreik???nige' is not ASCII or UTF-8 in file 
> > /usr/share/pal/austria.pal.
> > ERROR: Event text 'Mari??? Himmelfahrt' is not ASCII or UTF-8 in file 
> > /usr/share/pal/austria.pal.
> > ERROR: Event text 'Mari??? Empf???ngnis' is not ASCII or UTF-8 in file 
> > /usr/share/pal/austria.pal.
> > ERROR: Event text 'Gr???ndonnerstag' is not ASCII or UTF-8 in file 
> > /usr/share/pal/austria.pal.
> > ERROR: Event text 'Ende Sommerzeit --- Uhren zur???ckstellen' is not ASCII 
> > or UTF-8 in file /usr/share/pal/austria.pal.
> >
> > Thus the events appear trimmed in pal's calendar overview.  I suggest a 
> > iconv
> > -f iso-8859-1 -t utf-8 < austria.pal | sponge austria.pal
> 
> Thanks for the bug report, I just verified it. This bug should be fixed
> upstream.  Your suggested command requires moreutils to be installed,
> a alternative without moreutils is:
> 
>   iconv -f iso-8859-1 -t utf-8 < austria.pal > austria.pal.bak
>   mv austria.pal.bak austria.pal
> 
> 
> Regards,
> Carsten
> 
> 
> 

-- 
Martijn van Oosterhout   <[EMAIL PROTECTED]>   http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while 
> boarding. Thank you for flying nlogn airlines.


signature.asc
Description: Digital signature


Bug#499389: austria.pal is ISO-8859 encoded

2008-09-18 Thread Carsten Hey
On Thu, Sep 18, 2008 at 11:38:26AM +0200, Philipp Kern wrote:
> pal barfs when austria.pal is used as its calendar file is ISO-8859
> encoded, instead of UTF-8:
>
> ERROR: Event text 'Heilige Dreik�nige' is not ASCII or UTF-8 in file 
> /usr/share/pal/austria.pal.
> ERROR: Event text 'Mari� Himmelfahrt' is not ASCII or UTF-8 in file 
> /usr/share/pal/austria.pal.
> ERROR: Event text 'Mari� Empf�ngnis' is not ASCII or UTF-8 in file 
> /usr/share/pal/austria.pal.
> ERROR: Event text 'Gr�ndonnerstag' is not ASCII or UTF-8 in file 
> /usr/share/pal/austria.pal.
> ERROR: Event text 'Ende Sommerzeit --- Uhren zur�ckstellen' is not ASCII or 
> UTF-8 in file /usr/share/pal/austria.pal.
>
> Thus the events appear trimmed in pal's calendar overview.  I suggest a iconv
> -f iso-8859-1 -t utf-8 < austria.pal | sponge austria.pal

Thanks for the bug report, I just verified it. This bug should be fixed
upstream.  Your suggested command requires moreutils to be installed,
a alternative without moreutils is:

  iconv -f iso-8859-1 -t utf-8 < austria.pal > austria.pal.bak
  mv austria.pal.bak austria.pal


Regards,
Carsten



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#499389: austria.pal is ISO-8859 encoded

2008-09-18 Thread Philipp Kern
Package: pal
Version: 0.4.3-2
Severity: normal

Hi there,

pal barfs when austria.pal is used as its calendar file is ISO-8859
encoded, instead of UTF-8:

ERROR: Event text 'Heilige Dreik�nige' is not ASCII or UTF-8 in file 
/usr/share/pal/austria.pal.
ERROR: Event text 'Mari� Himmelfahrt' is not ASCII or UTF-8 in file 
/usr/share/pal/austria.pal.
ERROR: Event text 'Mari� Empf�ngnis' is not ASCII or UTF-8 in file 
/usr/share/pal/austria.pal.
ERROR: Event text 'Gr�ndonnerstag' is not ASCII or UTF-8 in file 
/usr/share/pal/austria.pal.
ERROR: Event text 'Ende Sommerzeit --- Uhren zur�ckstellen' is not ASCII or 
UTF-8 in file /usr/share/pal/austria.pal.

Thus the events appear trimmed in pal's calendar overview.  I suggest a iconv
-f iso-8859-1 -t utf-8 < austria.pal | sponge austria.pal

Kind regards,
Philipp Kern

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
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 pal depends on:
ii  libc6 2.7-13 GNU C Library: Shared libraries
ii  libglib2.0-0  2.16.5-1   The GLib library of C routines
ii  libncurses5   5.6+20080907-1 shared libraries for terminal hand
ii  libreadline5  5.2-3  GNU readline and history libraries

pal recommends no packages.

Versions of packages pal suggests:
ii  texlive2007.dfsg.1-3 TeX Live: A decent selection of th

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]