开发者

How to determine virtualhost charset

开发者 https://www.devze.com 2023-02-17 17:16 出处:网络
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.confI think you should

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

精彩评论

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