• 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
Re: Question on STRINGS_FILE_OUTPUT_ENCODING
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question on STRINGS_FILE_OUTPUT_ENCODING


  • Subject: Re: Question on STRINGS_FILE_OUTPUT_ENCODING
  • From: Ulf Dunkel <email@hidden>
  • Date: Wed, 10 Nov 2010 14:49:22 +0100
  • Organization: invers Software

Hi Joar.

Because Mac OS X expects for strings files found in frameworks and app bundles to be encoded in UTF-16.

Is there any Apple statement on this? I wonder why our apps work fine with UTF-8 built .strings files? ;-)


This feature of Xcode 3.1 allows the developer to keep the "source copy" of the strings file in any encoding that they want, typically UTF-8 - which is friendlier to SCM (diffing) and other tools - and only convert it to the expected UTF-16 as the file is copied over to the final build product.

But building with a different encoding from what you use in the source would cause more problems when external localizers have to handle the files.


I really cannot believe that UTF-16 should be a MUST for built apps. Please explain to me where Apple states and requires this.

Thank you,
---Ulf Dunkel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Question on STRINGS_FILE_OUTPUT_ENCODING
      • From: Joar Wingfors <email@hidden>
    • Re: Question on STRINGS_FILE_OUTPUT_ENCODING
      • From: glenn andreas <email@hidden>
References: 
 >Question on STRINGS_FILE_OUTPUT_ENCODING (From: Ulf Dunkel <email@hidden>)
 >Re: Question on STRINGS_FILE_OUTPUT_ENCODING (From: Joar Wingfors <email@hidden>)

  • Prev by Date: NSSecureTextFieldCell detected a field editor ((null))
  • Next by Date: Re: Question on STRINGS_FILE_OUTPUT_ENCODING
  • Previous by thread: Re: Question on STRINGS_FILE_OUTPUT_ENCODING
  • Next by thread: Re: Question on STRINGS_FILE_OUTPUT_ENCODING
  • Index(es):
    • Date
    • Thread