Patches: Browse | Submit New | Admin

[#29337] encoding error

Date:
2011-07-29 04:27
Priority:
3
Submitted By:
Andrew Kaspick (akaspick)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
encoding error

Detailed description
With Ruby 1.9.2-p290, the following encoding error occurs...

gems/feedtools-0.2.29/lib/feed_tools/helpers/uri_helper.rb:43: invalid multibyte char (US-ASCII)
gems/feedtools-0.2.29/lib/feed_tools/helpers/uri_helper.rb:43: syntax error, unexpected $end, expecting ')'
          if IDN::Idna.toASCII('http://www.詹▒▒.com/') ==

To fix, the following line needs to be added to the top of uri_helper.rb:
# encoding: UTF-8

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item