download charset bug fix