[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Problem with ÅÄÖ and wget
From: |
Tim Ruehsen |
Subject: |
Re: [Bug-wget] Problem with ÅÄÖ and wget |
Date: |
Thu, 12 Sep 2013 17:37:17 +0200 |
User-agent: |
KMail/4.10.5 (Linux/3.10-2-amd64; KDE/4.10.5; x86_64; ; ) |
On Thursday 12 September 2013 12:59:00 Björn Mattsson wrote:
> Run into a bug in wget last week.
> Done some digging but can't solve it by my self.
>
> If i tries to wget a file containing capital ÅÄÖ they gets coverted
> wrongly, and åäö works fine.
>
> I uses wget -m to backup one of my webb-sites to another machine. Have
> worked like a cahrm for the last 4-5 years but a couple of week ago one
> of teh files came down wrong. Thought it was a college that had uploaded
> something wrong but after some digging it's wget that converts wrongly.
>
> I have UTF-8 as charset on my machine.
>
> If you want to test/see the problem
>
> wget -m http://bmit.se/wget
A request to http://bmit.se/wget/ returns text/html document without
specifying the charset (AFAIR, default is iso-8859-1).
Either your Server has to tag the response as utf-8 (Content-Type: text/html;
charset=utf-8) or you have to specify utf-8 in your document header.
Or you specify --remote-encoding=utf-8 when calling wget.
Could you give it a try, maybe with -d to see what is going on.
Tim
- [Bug-wget] Problem with ÅÄÖ and wget, Björn Mattsson, 2013/09/12
- Re: [Bug-wget] Problem with ÅÄÖ and wget,
Tim Ruehsen <=
- Re: [Bug-wget] Problem with ÅÄÖ and wget, Tim Rühsen, 2013/09/12
- Re: [Bug-wget] Problem with ÅÄÖ and wget, Ángel González, 2013/09/12
- Re: [Bug-wget] Problem with ÅÄÖ and wget, Tim Ruehsen, 2013/09/13
- Re: [Bug-wget] Problem with ÅÄÖ and wget, Bykov Aleksey, 2013/09/13
- Re: [Bug-wget] Problem with ÅÄÖ and wget, Tim Ruehsen, 2013/09/13
- Re: [Bug-wget] Problem with ÅÄÖ and wget, Bykov Aleksey, 2013/09/14
- Re: [Bug-wget] Problem with ÅÄÖ and wget, Ángel González, 2013/09/14
- Re: [Bug-wget] Problem with ÅÄÖ and wget, Bykov Aleksey, 2013/09/15
Re: [Bug-wget] Problem with ÅÄÖ and wget, Björn Mattsson, 2013/09/12
Re: [Bug-wget] Problem with ÅÄÖ and wget, Tim Rühsen, 2013/09/12