VISO now supports all DOS characters, fixes #3605.

This commit is contained in:
OBattler
2023-08-20 02:33:18 +02:00
parent 66db65e69b
commit 5492836562

View File

@@ -247,17 +247,28 @@ viso_convert_utf8(wchar_t *dest, const char *src, ssize_t buf_size)
c -= 'a' - 'A'; \ c -= 'a' - 'A'; \
break; \ break; \
\ \
case ' ': \
case '!': \ case '!': \
case '"': \ case '#': \
case '$': \
case '%': \ case '%': \
case '&': \ case '&': \
case '\'': \ case '\'': \
case '(': \ case '(': \
case ')': \ case ')': \
case '-': \
case '@': \
case '^': \
case '`': \
case '{': \
case '}': \
case '~': \
/* Valid on all sets (non-complying DOS characters). */ \
break; \
\
case ' ': \
case '"': \
case '+': \ case '+': \
case ',': \ case ',': \
case '-': \
case '.': \ case '.': \
case '<': \ case '<': \
case '=': \ case '=': \