From: "Erik E." Date: 2011-01-13T06:28:38+09:00 Subject: String.strip with UTF-8 Hi I can't strip the leading whitespace (or what at least looks like whitespace) from a Ruby 1.9.2 string ruby-1.9.2-p0 :002 > d.entity => " United Arab Emirates" ruby-1.9.2-p0 :003 > d.entity.strip => " United Arab Emirates" ruby-1.9.2-p0 :004 > d.entity.class => String ruby-1.9.2-p0 :005 > d.entity.encoding => # ruby-1.9.2-p0 :006 > It's inside the Rails 3.0.3 console.. Erik -- Posted via http://www.ruby-forum.com/.