Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #7186

Re: Download problem: invalid codepoint 0x... in UTF-8

Path csiph.com!feeder.erje.net!2.eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Robert Klemme <shortcutter@googlemail.com>
Newsgroups comp.lang.ruby
Subject Re: Download problem: invalid codepoint 0x... in UTF-8
Date Tue, 12 Jan 2016 19:31:43 +0100
Lines 36
Message-ID <dfkv4gFgo43U1@mid.individual.net> (permalink)
References <slrnn99i1v.4v6.michael.uplawski@drusus.uplawski.eu> <slrnn99r86.356.michael.uplawski@drusus.uplawski.eu>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding quoted-printable
X-Trace individual.net 7H+JtrVcdwxunKaAY6idvQywog9ofjfLfFQTj9c92JwI7wxBA=
Cancel-Lock sha1:h0qMyTTEGCT5+Ve+vuR1c7w9oBo=
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
In-Reply-To <slrnn99r86.356.michael.uplawski@drusus.uplawski.eu>
Xref csiph.com comp.lang.ruby:7186

Show key headers only | View raw


On 12.01.2016 13:09, Michael Uplawski wrote:
> HI again.
>
> Additional information.
>
> On Tue, 12 Jan 2016 10:32:47 +0100,
> Michael Uplawski <michael.uplawski@uplawski.eu> wrote:
>> What does this error point at? My connection is at the moment very very
>> crappy, i.e. ideal to test my download manager. I venture, that the
>> “invalid codepoint” problem is related to the fact that my
>> satellite-connection tends to suffer interruptions during my attempt to
>> get a file from the Internet, but cannot be sure.
>
> However, wget -c works for the same file. Connection-problems or not, my
> ruby-routines appear to do something different. I will try to see and
> understand the wget source-code, but would all the same appreciate your
> assistence.

You are probably using a wrong encoding to convert bytes to a String. 
Note that this conversion might be implicit somewhere.  You would have 
to trace the line triggering the error.

Kind regards

	robert


-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Download problem: invalid codepoint 0x... in UTF-8 Michael Uplawski <michael.uplawski@uplawski.eu> - 2016-01-12 10:32 +0100
  Re: Download problem: invalid codepoint 0x... in UTF-8 Michael Uplawski <michael.uplawski@uplawski.eu> - 2016-01-12 13:09 +0100
    Re: Download problem: invalid codepoint 0x... in UTF-8 Robert Klemme <shortcutter@googlemail.com> - 2016-01-12 19:31 +0100
      [Solved] Was: Download problem: invalid codepoint 0x... in UTF-8 Michael Uplawski <michael.uplawski@uplawski.eu> - 2016-01-13 07:31 +0100

csiph-web