Fixed encoding for Persian. Fixed permissions for Polish.