Name: tb29552 Date: 09/19/97
The trim() method does not remove all types of "white spaces" ;it ignores all the non-ASCII
spaces such as ideographic space (\u3000), em-space (\u2001), en-space (\u2000) etc.
Basically all Unicode characters with the SPACE property should be removed by trim(). There
are about 20 of them.
This is an annoying problem when you deal with Asian text, or text comming from desktop
publishing package where many different type of spaces are used.
Thanks
company - ILE , email - ###@###.###
======================================================================
- relates to
-
JDK-5066701 Incorrect link to Character.isSpace(char) in String.trim()
-
- Resolved
-
-
JDK-7190385 (str) Provide additional trim method(s) that is(are) more intelligent about whitespace
-
- Open
-