custom changes to enable enforcing persian output without checking locale