mod file encoding