add encoding to label spec file