mirror of
https://github.com/projectdiscovery/httpx
synced 2026-06-08 16:50:17 +00:00
fix: resolve Traditional Chinese page garbled text issue
This commit is contained in:
@@ -80,6 +80,8 @@ func DecodeData(data []byte, headers http.Header) ([]byte, error) {
|
||||
switch {
|
||||
case stringsutil.ContainsAny(mcontentType, "gb2312", "gbk"):
|
||||
return Decodegbk(data)
|
||||
case stringsutil.ContainsAny(mcontentType, "big5", "Big5"):
|
||||
return Decodebig5(data)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user