bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #25233] unable to create an NSString from the Unicode character 0xF


From: Doug Simons
Subject: [bug #25233] unable to create an NSString from the Unicode character 0xFFFF
Date: Fri, 02 Jan 2009 22:46:27 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_4_11; en) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1

URL:
  <http://savannah.gnu.org/bugs/?25233>

                 Summary: unable to create an NSString from the Unicode
character 0xFFFF
                 Project: GNUstep
            Submitted by: theeggcamefirst
            Submitted on: Fri 02 Jan 2009 10:46:25 PM GMT
                Category: Base/Foundation
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Calling [[NSString alloc] initWithCharacters:&keyCode length:1] returns nil
when keyCode is 0xFFFF. A quick look in the code shows that it treats this
code and 3 others as non-characters, which may be correct in some contexts.
But Cocoa allows creating an NSString containing only this character.

This is a low priority for me, as I've worked around it in my code now, but
may be something to look into someday.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?25233>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]