[Mono-bugs] [Bug 515371] New: String.Trim should consider 0x202f as whitespace (NARROW NO-BREAK-SPACE)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jun 22 16:40:37 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=515371


           Summary: String.Trim should consider 0x202f as whitespace
                    (NARROW NO-BREAK-SPACE)
    Classification: Mono
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: miguel at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


The following should return 0, currently returns 1:

$ csharp
csharp> string a = "\u202f";
char.IsWhiteSpace (a [0]);
true
csharp> a.Trim ().Length;  
1

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list