Merge pull request #899 from ennorehling/master

UTF8 niceties.
This commit is contained in:
Enno Rehling 2020-03-14 12:07:07 +01:00 committed by GitHub
commit f9997e8838
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -223,6 +223,7 @@ char *parse_token(const char **str, char *lbuf, size_t buflen)
}
*cursor = '\0';
unicode_utf8_trim(lbuf);
*str = ctoken;
return lbuf;
}