[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #37577] NSString fails to persist/unpersists UTF-8 String correctly
From: |
Robin |
Subject: |
[bug #37577] NSString fails to persist/unpersists UTF-8 String correctly |
Date: |
Mon, 15 Oct 2012 19:20:15 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:15.0) Gecko/20100101 Firefox/15.0.1 |
Follow-up Comment #2, bug #37577 (project gnustep):
Attached is a small test program to recreate the problem.
My output is:
2012-10-15 21:16:09.967 persists[19317] Set String value: english ->
γερμανικών δυνάμεων στον <-some Greek
2012-10-15 21:16:09.967 persists[19317] >>DataClass setValue '(null)' now
renamed to 'english -> γερμανικών δυνάμεων στον <-some
Greek'
2012-10-15 21:16:09.967 persists[19317] Data class value: english ->
γερμανικών δυνάμεων στον <-some Greek
2012-10-15 21:16:09.967 persists[19317] encodeWithCoder, saved string :
english -> γερμανικών δυνάμεων στον <-some Greek
2012-10-15 21:16:09.969 persists[19317] -- Saved DataClass to disk.
2012-10-15 21:16:09.969 persists[19317] Loaded string value:
攀渀最氀椀猀栀 ⴀ㸀 댃딃섃밃넃봃뤃먃츃봃 됃씃봃갃밃딃줃봃 쌃쐃뼃봃 㰀ⴀ猀漀洀攀 䜀爀攀攀欀
2012-10-15 21:16:09.969 persists[19317] Loaded Data class value:
攀渀最氀椀猀栀 ⴀ㸀 댃딃섃밃넃봃뤃먃츃봃 됃씃봃갃밃딃줃봃 쌃쐃뼃봃 㰀ⴀ猀漀洀攀 䜀爀攀攀欀
Note this is built with the latest from SVN.
(file #26773)
_______________________________________________________
Additional Item Attachment:
File name: persist.m Size:2 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?37577>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/