• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Serializing NSStrings with different encodings in NSDictonary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Serializing NSStrings with different encodings in NSDictonary


  • Subject: Serializing NSStrings with different encodings in NSDictonary
  • From: email@hidden (Sebastian Krauß)
  • Date: Sat, 9 Mar 2002 04:06:56 +0100

Hi everybody,

I have an NSDictionary containing NSStrings in different encodings. The strings are perfectly valid, but in different encodings.

I have no problem logging the dictionary to the console or po'ing them in gdb, but whenever I try to serialize my object containing the dictionary using NSArchiver's archiveRootObject:toFile:, it returns NO.

When I only insert strings in one encoding, everything is fine and I can deserialize my object.

Is this some known problem or is there a way around this?

Any help would be appreciated.

Sebastian
---
"Most people put some sort of quote at the end of their signature.
I don't."
-- Liam Downing
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Complete Cocoa API Reference posted to Apple Developer Site
  • Next by Date: Re: Renaming and moving files
  • Previous by thread: Re: Refreshing Services menu
  • Next by thread: OutlineView data source method
  • Index(es):
    • Date
    • Thread