Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Dump all variations of Croatian 8-bit encodings
#!/bin/sh -x
function encoding {
echo "# $1"
head $file | iconv -f $1 -t utf-8
encoding cp850
encoding cp852
encoding cp1250
encoding cp1252
encoding iso-8859-1
encoding iso-8859-2
encoding mac
dpavlin commented Jun 23, 2010

Example usage:

./ data/ESB_izvadak-tekuci.csv | vi -R -c 'set nowrap' -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.