t5100: use ancient encoding syntax for backwards compatibility