开发者

How to determine virtualhost charset

I need to find out at runtime what charset is currently used on virtu开发者_运维问答al host. E.g. it might be defined in .htaccess file (AddDefaultCharset directive) or in httpd.conf


I think you should bind to charset desired by client browser. Take a closer look at $_SERVER["HTTP_ACCEPT_CHARSET"].

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜