t3900: test conversion to non UTF-8 as well