Opened 11 years ago

Closed 11 years ago

#312 closed enhancement (wontfix)

Add text/css back to the default charset_types

Reported by: Tsz Ming Wong Owned by:
Priority: minor Milestone:
Component: nginx-core Version: 1.3.x
Keywords: css Cc:
uname -a: Linux localhost 2.6.32-33-server #72-Ubuntu SMP Fri Jul 29 21:21:55 UTC 2011 x86_64 GNU/Linux
nginx -V: nginx: nginx version: nginx/1.0.8
nginx: TLS SNI support enabled
nginx: configure arguments: --prefix=/etc/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-log-path=/var/log/nginx/access.log --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --lock-path=/var/lock/nginx.lock --pid-path=/var/run/nginx.pid --with-debug --with-http_addition_module --with-http_dav_module --with-http_geoip_module --with-http_gzip_static_module --with-http_image_filter_module --with-http_realip_module --with-http_stub_status_module --with-http_ssl_module --with-http_sub_module --with-http_xslt_module --with-ipv6 --with-sha1=/usr/include/openssl --with-md5=/usr/include/openssl --with-mail --with-mail_ssl_module --add-module=/build/buildd/nginx-1.0.8/debian/modules/nginx-echo --add-module=/build/buildd/nginx-1.0.8/debian/modules/nginx-upstream-fair

Description

CSS can include non-ASCII characters [1], a very common use case is to use non-ASCII characters as the value of font-family.

It would be great if the change [2] can be reverted.

[1] http://www.w3.org/International/questions/qa-css-charset.en.php
[2] http://trac.nginx.org/nginx/changeset/2188/nginx

Change History (1)

comment:1 by Maxim Dounin, 11 years ago

Resolution: wontfix
Status: newclosed

It is believed that in most cases css files are ASCII-only. If for a particular setup this is not true, text/css can be easily added to charset_types.

Note: See TracTickets for help on using tickets.