Issue #10051 has been reported by Bas Vodde.

----------------------------------------
Bug #10051: nbsp isn't remove with trim
https://bugs.ruby-lang.org/issues/10051

* Author: Bas Vodde
* Status: Open
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* ruby -v: ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin12.0]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------

When I have a nbsp character in a string and call strip on it, it will not remove it even though is would could as a whitespace.

E.g.
Nokogiri.HTML(" ").text.strip

results in "" and should result in ""



-- 
https://bugs.ruby-lang.org/