core tests: use encoding is deprecated for some uni/*.t: #354