complicated example  using iconv and request