charset encoding wrapper function to Util
testing with artax