Forum: Ruby iconv will be deprecated

Posted by THUFIR H. (thufir_h)
on 2013-01-13 10:01
(Received via mailing list)
Coming at this again:

thufir@dur:~/ruby/nntp$
thufir@dur:~/ruby/nntp$ ruby nntp.rb
/home/thufir/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/site_ruby/1.9.1/
rubygems/custom_require.rb:36:in `require': iconv will be deprecated in
the future, use String#encode instead.
thufir@dur:~/ruby/nntp$
thufir@dur:~/ruby/nntp$ cat nntp.rb
require 'rubygems'
require 'net/nntp'

Net::NNTP.logger = Log4r::Logger.new 'mylog'
nntp = Net::NNTP.new
thufir@dur:~/ruby/nntp$
thufir@dur:~/ruby/nntp$ ruby --version
ruby 1.9.3p362 (2012-12-25 revision 38607) [i686-linux]
thufir@dur:~/ruby/nntp$
thufir@dur:~/ruby/nntp$ rvm --version

rvm 1.17.6 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal
Papis <mpapis@gmail.com> [https://rvm.io/]

thufir@dur:~/ruby/nntp$


this is a problem with the underlying gem, net/nntp?  Looking at:

http://stackoverflow.com/questions/8148762/iconv-d...
ruby-1-9-3/10258931#10258931

that's the inference which I draw.



thanks,

Thufir
Posted by D. Deryl Downey (ddd)
on 2013-01-13 13:31
(Received via mailing list)
Its not a problem. Its a warning / notification.


Thufir Hawat wrote:
> require 'net/nntp'
> Papis<mpapis@gmail.com>  [https://rvm.io/]
>
>
>
> thanks,
>
> Thufir
>
>
>

--
D. Deryl Downey

"The bug which you would fright me with I seek" - William Shakespeare -
The Winter's Tale, Act III, Scene II - A court of Justice.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.