Treat preferred encoding properly