diff options
author | Anatol Belski <ab@php.net> | 2014-09-19 19:35:29 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-09-19 19:45:38 +0200 |
commit | 2be8fdcfd6b719cf21e4344c75b46fd5704727e4 (patch) | |
tree | d02c6b458776812134a1a3f6f989e2797c8e2ae5 | |
parent | d0cb715373c3fbe9dc095378ec5ed8c71f799f67 (diff) | |
download | php-git-2be8fdcfd6b719cf21e4344c75b46fd5704727e4.tar.gz |
updated the comment to charset_hint
-rw-r--r-- | ext/standard/html.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/standard/html.c b/ext/standard/html.c index e918e9586e..dfe30d9b3e 100644 --- a/ext/standard/html.c +++ b/ext/standard/html.c @@ -392,7 +392,8 @@ static enum entity_charset determine_charset(char *charset_hint TSRMLS_DC) if (zenc != NULL) { charset_hint = (char *)zend_multibyte_get_encoding_name(zenc); if (charset_hint != NULL && (len=strlen(charset_hint)) != 0) { - if ((len == 4) /* sizeof (none|auto|pass) */ && + if ((len == 4) /* sizeof (auto|pass) */ && + /* XXX should the "wchar" be ignored as well?? */ (!memcmp("pass", charset_hint, 4) || !memcmp("auto", charset_hint, 4))) { charset_hint = NULL; |