Re: how to find a .strings file?
Re: how to find a .strings file?
- Subject: Re: how to find a .strings file?
- From: Christiaan Hofman <email@hidden>
- Date: Thu, 15 Sep 2011 22:25:49 +0200
On Sep 15, 2011, at 17:38, Joar Wingfors wrote:
> If you search your projects from Xcode, it will find matches inside of ".strings" files. That requires you to have your strings files referenced from projects of course, and for you to search all projects separately.
>
> On that topic: UTF16 is, as you've noted, somewhat difficult to deal with, and we therefore recommend that you store the strings files in your project as UTF8.
Huh? The docs say "It is recommended that you save strings files using the UTF-16 encoding," and moreover genstrings creates .strings files in UTF-16 encoding (without a way to modify that.) So I wonder who is "we," it's certainly not "your" documentation department. So did you misspeak, or should I consider this a bug in the documentation and in genstrings?
> Mac OS X still requires strings files in your product to be encoded in UTF16, but Xcode manages that for you by converting them to UTF16 when they're copied over to the build product as part of the build.
>
> j o a r
>
Also this seems not to be described in the internationalization guide, at least not in the relevant chapters. Bug?
Really, I agree that UTF-16 is difficult to deal with, but it's the Xcode tools that create the problem.
Christiaan
>
> On 15 sep 2011, at 06:48, Gerriet M. Denkmann wrote:
>
>> I want to find all xxx.strings files which contain a certain word.
>>
>> Spotlight finds nothing.
>>
>> grep doesn't work, probably because it cannot handle Utf-16.
>>
>> So: what can I do?
>>
>> Kind regards,
>>
>> Gerriet.
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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
_______________________________________________
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