use utf8 instead of ios-8859-1 as default from code and a trick for get valid charset