Re: Translations for 1.9.1

2003-11-17 Thread Gisle Vanem
Manfred Schwarb [EMAIL PROTECTED] said:

 But on my machine, translations are broken somehow, all special characters
 are scrambled. With wget 1.9 this didn't happen.

 Example from de.po:
 #: src/convert.c:439
 #, c-format
 msgid Cannot back up %s as %s: %s\n
 msgstr Anlegen eines Backups von %s als %s nicht mglich: %s\n

It's normal. de.po is written in UTF-8.
Use e.g
cat de.po | iconv -f UTF-8 -t CP850

to display correctly, but gettext should handle this fine.

--gv




Re: Translations for 1.9.1

2003-11-17 Thread Hrvoje Niksic
Manfred Schwarb [EMAIL PROTECTED] writes:

 I just installed wget 1.9.1, works fine.  But on my machine,
 translations are broken somehow, all special characters are
 scrambled. With wget 1.9 this didn't happen.

There was no change in handling translation from 1.9 to 1.9.1, except
perhaps for a new `de.po' from the Translation Project.  Indeed, the
blunder is theirs: they switched to utf-8 for `de.po', but forgot to
mark it as utf-8.

They fixed this problem later, so future versions of Wget will not
have this problem.  If you want, you can download the latest German PO
file from the Translation Project and correct the problem yourself.



Re: Translations for 1.9.1

2003-11-17 Thread Manfred Schwarb

 It's normal. de.po is written in UTF-8.
 Use e.g
 cat de.po | iconv -f UTF-8 -t CP850
  
 to display correctly, but gettext should handle this fine.


I see. Thanks a lot for your hint. 
Probably my gettext is just too old.

A remark about this issue in the README or INSTALL file would be great.


Manfred

-- 
GMX Weihnachts-Special: Seychellen-Traumreise zu gewinnen!

Rentier entlaufen. Finden Sie Rudolph! Als Belohnung winken tolle
Preise. http://www.gmx.net/de/cgi/special/

+++ GMX - die erste Adresse für Mail, Message, More! +++



Re: Translations for 1.9.1

2003-11-17 Thread Manfred Schwarb

 Manfred Schwarb [EMAIL PROTECTED] writes:
 
  I just installed wget 1.9.1, works fine.  But on my machine,
  translations are broken somehow, all special characters are
  scrambled. With wget 1.9 this didn't happen.
 
 There was no change in handling translation from 1.9 to 1.9.1, except
 perhaps for a new `de.po' from the Translation Project.  Indeed, the
 blunder is theirs: they switched to utf-8 for `de.po', but forgot to
 mark it as utf-8.
 
 They fixed this problem later, so future versions of Wget will not
 have this problem.  If you want, you can download the latest German PO
 file from the Translation Project and correct the problem yourself.
 

I followed the hint of Gisle and did 
cat de.po | iconv -f UTF-8 -t ISO-8859-1  de.po.new; mv de.po.new de.po

this worked great.

Thanks
Manfred

-- 
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse für Mail, Message, More! +++