Issue #22848 has been updated by Mark Frost.

I'm not 100% certain this is related... as my Ruby's not as strong as some. 
However, I ran into a variation of this issue on SuSE10. 

There's a package on SuSE that has a description like this:

gpg(Oc\xE9 Printing Systems GmbH (Oc\xE9 Signature for SLES10 Patch Updates) 
<[email protected]>)

The patch provided above did not work for me. However, if instead of UTF-8 I 
use force_encoding(ISO-8859-1), it seems to work in this situation. Obviously 
ISO-8859-1 doesnt cover everything that UTF-8 does... so I'm not really sure 
how desirable this would be as a fix. I just wanted to make note of it, 
however, for whoever ultimately tackles this issue. 

----------------------------------------
Bug #22848: Encoding bug in Puppet 3.3.1 when using Ruby 1.9.3 (and above)
https://projects.puppetlabs.com/issues/22848#change-99093

* Author: Jos Backus
* Status: Unreviewed
* Priority: High
* Assignee: 
* Category: ruby19
* Target version: 
* Affected Puppet version: 3.3.1
* Keywords: 
* Branch: 
----------------------------------------
One of our RPM packages has some UTF-8 characters in its description, leading 
to an exception ("Error: Could not prefetch package provider 'yum': invalid 
byte sequence in US-ASCII")  in rpm.rb, causing no packages to be upgraded as 
the yumhelper.py invocation code raises that error.

Priority=High because it breaks file { ensure => latest; }.


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to