fixes for getting the unicode behavior right when specifying ascii as a valid option