• 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: Localizable.strings file with extra ^@ symbols everywhere
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Localizable.strings file with extra ^@ symbols everywhere


  • Subject: Re: Localizable.strings file with extra ^@ symbols everywhere
  • From: Trever Wilhelm <email@hidden>
  • Date: Fri, 23 Apr 2004 11:22:28 -0700

Thank you Dave and Chris.  That was the reason.


> From: Chris Ridd <email@hidden>
> Date: Fri, 23 Apr 2004 19:19:30 +0100
> To: Trever Wilhelm <email@hidden>, "email@hidden"
> <email@hidden>
> Subject: Re: Localizable.strings file with extra ^@ symbols everywhere
>
> 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.


References: 
 >Re: Localizable.strings file with extra ^@ symbols everywhere (From: Chris Ridd <email@hidden>)

  • Prev by Date: Re: Localizable.strings file with extra ^@ symbols everywhere
  • Next by Date: Re: WO & 1.2
  • Previous by thread: Re: Localizable.strings file with extra ^@ symbols everywhere
  • Next by thread: Re: Localizable.strings file with extra ^@ symbols everywhere
  • Index(es):
    • Date
    • Thread