js-codepage/misc/make_baseline.sh
SheetJS 5aacbbf522 version bump 1.5.0
new codepages:

- 808   OEM Russian; Cyrillic + Euro symbol
- 872   OEM Cyrillic (primarily Russian) + Euro Symbol
- 1010  IBM EBCDIC French
- 1132  IBM EBCDIC Lao (1132 / 1133 / 1341)
- 47451 Atari ST/TT

other changes:

- updated travis versions for test
- miscellaneous adjustments to tooling
2016-09-22 13:42:47 -04: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