include which charset is unsupported in json error

& tests, now in regex