sets platform encoding