modified CLI parser to handle UTF8 unicode on Mac instead ascii