I couldn't find a way to specify charset at all, my file is utf-8. The deprecated method has a charset parameter but the new method doesn't offer any way to change the charset, not even through parser options.
am i missing something? why not keep the charset param?