From: nobu@... Date: 2014-07-17T08:02:52+00:00 Subject: [ruby-core:63790] [ruby-trunk - Feature #10051] nbsp isn't remove with trim 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/