defaulting to UTF-8 and doing something with PID files

This commit is contained in:
2022-07-25 09:11:47 -06:00
parent ee1236fa5c
commit 49322894fa
2 changed files with 18 additions and 9 deletions

View File

@ -60,7 +60,7 @@ ZGetCharset(char *charset)
if (!strcmp(charset, "NONE") || !strcmp(charset, "UNKNOWN"))
retval = ZCHARSET_UNKNOWN;
else if (!strcmp(charset, "ANSI_X3.4-1968"))
retval = ZCHARSET_ISO_8859_1; /* A hack. */
retval = ZCHARSET_UTF_8; /* A hack. */
else if (!strcmp(charset, "ISO-8859-1"))
retval = ZCHARSET_ISO_8859_1;
else if (!strcmp(charset, "UTF-8"))