Created
May 16, 2009 21:50
-
-
Save jmhodges/112818 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Nokogiri 1.2.3 | |
| → irb -rrubygems -rnokogiri | |
| irb(main):001:0> j.at('meta') | |
| NameError: undefined local variable or method `j' for main:Object | |
| from (irb):1 | |
| irb(main):002:0> j = Nokogiri::HTML.parse('<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">'); j.at('meta') | |
| encoding error : output conversion failed due to conv error, bytes 0xCF 0x26 0x41 0xC0 | |
| I/O error : encoder error | |
| => | |
| irb(main):003:0> j = Nokogiri::HTML.parse('<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">'); j.at('meta') | |
| encoding error : output conversion failed due to conv error, bytes 0xE3 0xF9 0x15 0xC0 | |
| I/O error : encoder error | |
| => | |
| irb(main):004:0> j = Nokogiri::HTML.parse('<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">'); j.at('meta') | |
| => < ="" core/transaction.rb=""></> | |
| irb(main):005:0> j = Nokogiri::HTML.parse('<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">'); j.at('meta') | |
| => < ="" content=""></> | |
| irb(main):006:0> j = Nokogiri::HTML.parse('<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">'); j.at('meta') | |
| /opt/local/lib/ruby/gems/1.8/gems/nokogiri-1.2.3/lib/nokogiri/xml/node.rb:633: [BUG] Segmentation fault | |
| ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment