This topic created in 3956 days ago, the information mentioned may be changed or developed.
反代了一个网站,如果不设置 charset 打开网页首页就显示乱码,设置了 charset 为 gbk 之后打开几层网页之后又会乱码。
不设置也不是,设置也不是,是哪里出问题了呢?
4 replies • 2016-01-05 12:22:08 +08:00
 |
|
kslrJan 4, 2016 via Android
1
首先,搞清楚编码
|
 |
|
@ kslr 浏览器里手动切换编码为 gbk 可以正常显示的
|
 |
|
。。。请声明正确的编码头
|
 |
|
proxy_set_header Content-Type
|