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 6971313
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:49:26+00:00 2026-05-27T16:49:26+00:00

I am creating an application where a user can click a city name in

  • 0

I am creating an application where a user can click a city name in a tableview. I’m identifying the name the user selected to match a key in a NSDictionary.

The problem is that some of the cities are having å ä ö in their name, since the app should work in Sweden.

The NSDictionaries are stored in a plist-file. Looks like this:

{
    Göteborg = {
        name = "Göteborg";
        adress = "xxx";
        phone = "xxx";
    };

}

How should I make this work? I can think of a few stragies, which I don’t know how to implement:

  1. Escape the å ä ö in in the plist file some way. But how?

  2. In the plist, instead of Göteborg I could call the key Goteborg and in the code always exchange the å ä ö to a a o before calling the key in the dictionary. But how do I do that if I’m not going to loop through the string and build up a new one? I assume it’s possible in an easy way, e.g. a “change all ö to o” method.

This is the error message I get when trying to compile the application:

English.lproj/factories.plist: Unexpected character { at line 1
Command /Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copyplist failed with exit code 1

Thanks in advance!

  • 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-05-27T16:49:26+00:00Added an answer on May 27, 2026 at 4:49 pm

    Using a Hex Editor I found incorrect signs that followed when I copied from the web. Removing those characters fixed the problem.

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

Sidebar

Related Questions

I am creating this drawing application, where the user can click preview and it
I'm creating a Java application where the user can search through a list of
I am interested in creating a simple web application that will take in user
I am creating a favorite pages menu in my tableview application, where users can
I am creating an application that sends SMS while after click on a button.
I am creating an application where a user will click a button on form1,
I'm creating a gui application that requires some simple input, however, when I click
I'm creating an application where the user can draw a line on a screen
I'm creating a web application for work where the user has to enter the
I'm creating a web application on Google AppEngine where I want the user to

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.