Update of bug #25233 (project gnustep):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

0xFFFF is a noncharacter (see
http://www.unicode.org/versions/Unicode5.0.0/ch16.pdf section 7).

You can use it in your code, but must not attempt to transfer it to other
code (such as an NSString) as that's specifically disallowed by the unicode
standard.

You should probably raise a bug report with Apple if their implementation
treats a noncharacter as a character, as this is not in conformance with the
unicode standard.

In practical terms, it's a very very good thing for NSString to disallow
noncharacters as this ensures that bad input is detected early on and that
your code does not output bad data or pass bad data to other libraries with
unpredictable results.

    _______________________________________________________

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

Reply via email to