Create chardet.pl

port fencview.vim into perl