Validate the encoding before passing strings to libcurl or glibc | Hacker News Reader