Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7933053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T21:12:38+00:00 2026-06-03T21:12:38+00:00

By putting a NSDictionary to a file I get an UTF-8 encoded XML file.

  • 0

By putting a NSDictionary to a file I get an UTF-8 encoded XML file. I need to write data to a file in NSISOLatin1StringEncoding. Is NSDictionary UTF-8 only? How to achieve my goal?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T21:12:40+00:00Added an answer on June 3, 2026 at 9:12 pm

    Are you sure you need a file encoded as ISO Latin-1? The problem with all encodings other than some form of Unicode is that they can’t represent all possible characters.

    The encoding is surely the least of your problems. A dictionary’s file representation is a property list file. It’s unlikely that any code which requires Latin-1 encoding would understand that format. Indeed, the format is not guaranteed. It’s not even guaranteed to be XML or textual. Property lists may be binary.

    If you want to exchange data with a program that’s going to use anything other than Cocoa’s property list implementation, you should manually write the contents of the dictionary out in a format that’s defined independently of Apple’s property list format.

    And, yes, if Cocoa does write the property list as XML, it’s going to be UTF-8-encoded.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Putting together a trivia website where participants only get 30 seconds to see a
Putting this at the top of your CSS file: * { margin: 0; padding:
I am putting some heavy though into re-writing the data access layer in my
I am getting an XML format data from server and parsing it in an
Upon putting jasper reports dependency : <dependency> <groupId>jasperreports</groupId> <artifactId>jasperreports</artifactId> <version>3.5.0</version> </dependency> in my pom.xml,
How to show spinner while loading data with JSON and putting in to labels?
So I'm putting together a little code metrics report based off of usage data
I'm considering putting the Google Analytics tracker on my blog to get better stats
I have putting such data into LinearView. as like below code: public void showResult()
I have a question with respect to putting JSON data into a table view.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.