On Tue, 22 Mar 2011 20:42:15 +1300, Jérôme Duval <korli@xxxxxxxxxxxxxxxx> wrote:
2011/3/22 <clemens.zeidler@xxxxxxxxxxxxxx>:Author: czeidler Date: 2011-03-22 04:05:39 +0100 (Tue, 22 Mar 2011) New Revision: 41076 Changeset: https://dev.haiku-os.org/changeset/41076 Ticket: https://dev.haiku-os.org/ticket/7392 Modified: haiku/trunk/src/kits/support/String.cpp Log:Fix Trim() method for empty strings and strings only containing spaces. Fixes #7392.I'm wondering why isspace() is used instead of iswspace(). Internal representation is supposed to be UTF-8, which isspace() doesn't handle, right?
think you are right but I'm not sure, if somebody else confirm it I will change it.