Support custom codepages when specified via the command-line.