Linux fixes for switch to UTF-8 strings.