change the encoding of phaser js