Issue #10051 has been updated by Nobuyoshi Nakada.

Tracker changed from Bug to Feature
Description updated
Category set to M17N

Currently methods of `String` don't deal with Unicode properties.
Possibly some gems might be available.

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

* Author: Bas Vodde
* Status: Open
* Priority: Normal
* Assignee: 
* Category: M17N
* Target version: 
----------------------------------------

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.

```ruby
Nokogiri.HTML(" ").text.strip
```
results in `""` and should result in `""`



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