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

From Robert Klemme <shortcutter@googlemail.com>
Newsgroups comp.lang.ruby
Subject Re: Download problem: invalid codepoint 0x... in UTF-8
Date 2016-01-12 19:31 +0100
Message-ID <dfkv4gFgo43U1@mid.individual.net> (permalink)
References <slrnn99i1v.4v6.michael.uplawski@drusus.uplawski.eu> <slrnn99r86.356.michael.uplawski@drusus.uplawski.eu>

Show all headers | 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