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]

Reply via email to