Re: Unable to write in InfoPlist.strings file from cpp
Re: Unable to write in InfoPlist.strings file from cpp
- Subject: Re: Unable to write in InfoPlist.strings file from cpp
- From: "Henry McGilton (Boulevardier)" <email@hidden>
- Date: Thu, 10 Dec 2009 08:57:12 -0800
On Dec 10, 2009, at 8:42 AM, Manfred Schwind wrote:
>> Be careful, though: Some MacOS versions have a bug where .strings files had to be UTF16 to actually work. I don't think Apple has fixed that yet.
>
> Do you have more specific information about that?
> I consequently always used UTF-8 for all my .strings files in every project I ever worked on (for many years; I think I started with 10.1 or so) and never had a single problem with that.
> What exactly does not work when not using UTF-16?
> Maybe UTF-16 and UTF-8 both work, but - of course - no other encoding like ISO Latin or Mac Roman etc.?
There is a very much in passing comment in 'Internationalising Programming Topics' guide for Cocoa.
Note: It is recommended that you save strings files using the UTF-16 encoding,
which is the default encoding for standard strings files. It is possible to create strings
files using other property-list formats, including binary property-list formats and XML
formats that use the UTF-8 encoding, but doing so is not recommended . . .
Cheers,
. . . . . . . . Henry
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden