fix encoding test and changelog