Issue #15190 has been reported by Dominic Cleal.
----------------------------------------
Bug #15190: iconv will be deprecated, used in pson/json_pure lib
https://projects.puppetlabs.com/issues/15190
Author: Dominic Cleal
Status: Unreviewed
Priority: Normal
Assignee:
Category: ruby19
Target version:
Affected Puppet version: 2.7.17
Keywords:
Branch:
While running Puppet on Fedora 17 with ruby 1.9.3p194, there are many warnings
printed by ruby:
/usr/share/rubygems/rubygems/custom_require.rb:36:in `require': iconv will
be deprecated in the future, use String#encode instead.
This seems to be caused by the pson (json_pure) library in
`lib/puppet/external/pson/pure.rb`, that still uses iconv:
module PSON
begin
require 'iconv'
# An iconv instance to convert from UTF8 to UTF16 Big Endian.
UTF16toUTF8 = Iconv.new('utf-8', 'utf-16be') # :nodoc:
This can be shown by changing the require line so the iconv library doesn't
load (forcing the rescue path), then the deprecation warnings disappear.
Originally filed in Fedora as
[#809911](https://bugzilla.redhat.com/show_bug.cgi?id=809911).
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.