gustafn
committed
on 02 Jan 08
make encoding more robust over different capitalizations of encoding names