iconv_set_encoding internal encoding deprecated in php 5.6

Fix #344