Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mikezang

macrumors 6502a
Original poster
May 22, 2010
939
41
Tokyo, Japan
I use ibtool to create strings file from stroyboard file, this strings file is in UTF-16 format, now I found awk can't process it.
when I run
Code:
awk '{print $0}' old.txt
I got nothing as attachment. How can I process UTF-18 file?
 

Attachments

  • Screen Shot 2012-10-15 at 20.44.37.jpg
    Screen Shot 2012-10-15 at 20.44.37.jpg
    124.7 KB · Views: 136
Not sure if it helps, but some searches brought up this. A workaround using conversion.

I'm personally curious if awk, sed, etc work on utf-16 on linux even? Never actually tried that... hmm
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.