• 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: Merging strings?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Merging strings?


  • Subject: Re: Merging strings?
  • From: Alexey Proskuryakov <email@hidden>
  • Date: Fri, 02 Sep 2005 14:43:56 +0400

On 02.09.2005 13:57, "Markus Hitter" <email@hidden> wrote:

>>>      cat source1.strings source2.strings | sort | uniq
>>>> result.strings
>>
>>   Will this work for UTF-16 (AFAIK, .strings are recommended to be
>> such)?
>
> A quick test (taking a random, Apple provided .strings file,
> converting it to UTF-16 in Xcode and sorting it at the CLI) worked.
> The resulting file remains to be UTF-16 encoded. The answer should be
> "yes".

  Interesting... My quick test showed that cat | sort | uniq filtered out
all characters with zero first bytes, and 0430003100320033000a (hex bytes)
became 0430. This happened regardless of BOM presence.

  It would be interesting to know what could make cat change its operation
that much.

- WBR, Alexey Proskuryakov


 _______________________________________________
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

  • Follow-Ups:
    • Re: Merging strings?
      • From: Markus Hitter <email@hidden>
References: 
 >Re: Merging strings? (From: Markus Hitter <email@hidden>)

  • Prev by Date: Re: Merging strings?
  • Next by Date: Re: Merging strings?
  • Previous by thread: Re: Merging strings?
  • Next by thread: Re: Merging strings?
  • Index(es):
    • Date
    • Thread