See scala-js/scala-js#177. Supporting character sets (i.e. conversion from byte to char) is hard. Only implement if absolute need arises.