changed encoding of dictionary