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/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep