bug-gnustep
[Top][All Lists]
Advanced

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

[bug #37577] NSString fails to persist/unpersists UTF-8 String correctly


From: Eric Wasylishen
Subject: [bug #37577] NSString fails to persist/unpersists UTF-8 String correctly
Date: Tue, 16 Oct 2012 02:56:44 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4

Update of bug #37577 (project gnustep):

                  Status:               Need Info => Ready For Test         

    _______________________________________________________

Follow-up Comment #3:

Thanks for reporting. :-)

I committed a fix. The problem was in the binary plist writer in
NSPropertyList.m, which was writing UTF-16 strings in little endian (line
3738) but reading the strings back as big endian (line 3137, line 3156).
Big-endian seems to be the correct choice as the resulting plist loads
properly on OS X.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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