replaced 'unicode' conversion functions with 'ucd' (RhBug:1095861)
takes non-ascii cmd line input (RhBug:1092777)