Issue 6569 in dart: String.trim doesn't remove non-ascii whitespace

18 views
Skip to first unread message

da...@googlecode.com

unread,
Nov 6, 2012, 2:07:32 PM11/6/12
to bu...@dartlang.org
Status: Triaged
Owner: ----
Labels: Type-Defect Priority-Medium Area-Library

New issue 6569 by floi...@google.com: String.trim doesn't remove non-ascii
whitespace
http://code.google.com/p/dart/issues/detail?id=6569

From bug 6499:
there is way to get from DOM node a string with 'NO-BREAK SPACE' (U+00A0)
and current string methods do not account for it as a whitespace.


da...@googlecode.com

unread,
Nov 22, 2012, 8:30:06 AM11/22/12
to bu...@dartlang.org
Updates:
Owner: csha...@google.com

Comment #1 on issue 6569 by erik...@google.com: String.trim doesn't
(No comment was entered for this change.)

da...@googlecode.com

unread,
Dec 4, 2012, 4:41:51 PM12/4/12
to bu...@dartlang.org
Updates:
Owner: erik...@google.com

Comment #2 on issue 6569 by csha...@google.com: String.trim doesn't remove
non-ascii whitespace
http://code.google.com/p/dart/issues/detail?id=6569

This is labeled as a library issue so I am unsure why this is assigned to
me.

da...@googlecode.com

unread,
Dec 4, 2012, 5:17:47 PM12/4/12
to bu...@dartlang.org
Updates:
Owner: as...@google.com

Comment #3 on issue 6569 by erik...@google.com: String.trim doesn't
The implementation is in the VM in C++

da...@googlecode.com

unread,
Dec 4, 2012, 5:50:30 PM12/4/12
to bu...@dartlang.org
Updates:
Status: NeedsInfo
Owner: erik...@google.com

Comment #4 on issue 6569 by csha...@google.com: String.trim doesn't remove
non-ascii whitespace
http://code.google.com/p/dart/issues/detail?id=6569

The String.trim method I know of in runtime/vm/lib/string_base.dart. This
is dart code, not C++ code.

We might be talking about different implementations of String.trim. If so,
a pointer would be helpful.

da...@googlecode.com

unread,
Dec 5, 2012, 3:02:57 AM12/5/12
to bu...@dartlang.org
Updates:
Owner: kas...@google.com

Comment #5 on issue 6569 by erik...@google.com: String.trim doesn't
You are right, it is dart code. The real issue is with string_base.dart's
_isWhitespace functions.

Assigning to Kasper for triage. I'm working on dart2js and this is not my
area. I took the bug because I thought I could fix it as part of another
change, but that did not work out and I am not eager to return to
unicode-related work, especially not stuff that is near the VM, where
transatlantic code review frustrations are likely to arise.

da...@googlecode.com

unread,
Dec 5, 2012, 7:11:58 AM12/5/12
to bu...@dartlang.org
Updates:
Status: Triaged
Owner: ---
Cc: floi...@google.com

Comment #6 on issue 6569 by kas...@google.com: String.trim doesn't remove
non-ascii whitespace
http://code.google.com/p/dart/issues/detail?id=6569

da...@googlecode.com

unread,
Aug 23, 2013, 6:45:55 AM8/23/13
to bu...@dartlang.org
Updates:
Status: Fixed

Comment #7 on issue 6569 by l...@google.com: String.trim doesn't remove
non-ascii whitespace
http://code.google.com/p/dart/issues/detail?id=6569

Appears fixed.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages