js-codepage/misc/init.sh
SheetJS 0121708499 version bump 0.6.0: windows support
- MakeEncoding.cs program pulls from .NET encodings (tested with Windows 7)
  (outputs stored at dotnet/out and misc/err)
- Many new codepages and improvements
- coverage + coveralls
- better environment handling (h/t @xch89820)
- cpexcel.js for the formats recognized by excel
- decode endian option removed (implicit from codepage definition)
NOTE: utf7 encode can be more space efficient
2014-04-14 13:45:36 -07:00

11 lines
424 B
Bash
Executable File

#!/bin/bash
for i in cputils.js codepage.md README.md cptable.js; do
cp $i misc/$i.utf8
cat $i | iconv -f utf-8 -t ascii -c -s > misc/$i.ascii
cat $i | iconv -f utf-8 -t utf-16le > misc/$i.utf16le
cat $i | iconv -f utf-8 -t utf-16be > misc/$i.utf16be
cat $i | iconv -f utf-8 -t utf-32le > misc/$i.utf32le
cat $i | iconv -f utf-8 -t utf-32be > misc/$i.utf32be
cat $i | iconv -f utf-8 -t utf-7 > misc/$i.utf7
done