How to get HTML text encoding #12637
Answered
by
jay
0xdddddddd
asked this question in
Q&A
-
How to get Content-Type: text/html; charset=utf-8 in HTTP response header utf8 encoding type, the current LIBC URL, whether you can use curl_easy_getinfo to get the corresponding HTML text encoding |
Beta Was this translation helpful? Give feedback.
Answered by
jay
Jan 5, 2024
Replies: 1 comment
-
Refer to CURLINFO_CONTENT_TYPE or curl_easy_header doc, both have example sections that show how to obtain Content-Type. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
bagder
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Refer to CURLINFO_CONTENT_TYPE or curl_easy_header doc, both have example sections that show how to obtain Content-Type.