Logo

GitLab

Sign in

SGJP / Morfeusz

  • Back to Group
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Morfeusz
  • testfiles
  • convert.sh
  • - porządki cd... (dodanie testu od cp852 oraz lepszych danych do testu test_result_equals) ...
    b5621fce
    git-svn-id: svn://svn.nlp.ipipan.waw.pl/morfeusz/morfeusz@48 ff4e3ee1-f430-4e82-ade0-24591c43f1fd
    Michał Lenart authored
    2013-12-13 17:07:10 +0000  
    Browse Code »
convert.sh 127 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8
#!/bin/bash

file=$1

for encoding in ISO8859-2 CP1250 CP852
do
    iconv -f UTF-8 -t $encoding < $file > $file.$encoding
done