Workaround for invalid charsets in what must be how we deal with this in our other runtimes (fixme above is holder for fixing this better later)