fix overwrite of ENCODING var
Merge pull request #668 from ikkez/fix-hive-encoding-var

fix overwrite of ENCODING var