Re: Localizable.strings file with extra ^@ symbols everywhere
Re: Localizable.strings file with extra ^@ symbols everywhere
- Subject: Re: Localizable.strings file with extra ^@ symbols everywhere
- From: Chris Ridd <email@hidden>
- Date: Fri, 23 Apr 2004 19:19:30 +0100
On 23/4/04 6:21 pm, Trever Wilhelm <email@hidden> wrote:
> Hello,
>
> Does anyone know why my Localizable.strings files might contain ^@
> characters between every letter in the file? When I look at the file in
> Xcode, it looks like a normal text file. But if I open it in Vim, I see the
> control characters between every character in my file.
The file's been saved as UTF-16, which is a way of encoding Unicode using 2
bytes per character. Since most of your text is probably ASCII, the high
bytes (ie every other byte) will be \0.
I think UTF-16's the preferred encoding for Localizable.strings, but you
could change the encoding inside Xcode, and maybe play around with cutting
and pasting to get the text into your source.
Cheers,
Chris
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.