Summary: On Mac, default to UTF-8 if no environmental hints are available Reviewed-by: naoto, ddehaven