• 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: 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.


  • Follow-Ups:
    • Re: Localizable.strings file with extra ^@ symbols everywhere
      • From: Scott Tooker <email@hidden>
    • Re: Localizable.strings file with extra ^@ symbols everywhere
      • From: Trever Wilhelm <email@hidden>
References: 
 >Localizable.strings file with extra ^@ symbols everywhere (From: Trever Wilhelm <email@hidden>)

  • Prev by Date: Tip: How to remove about 350MB from /Developer
  • Next by Date: Re: Localizable.strings file with extra ^@ symbols everywhere
  • 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