'HTML encoding issue: Is it possible to have multiple charset encoding inside HTML
I am creating a HTML file from a c++ code which can have multiple charset encodings like iso-2022-jp, utf-8 etc. Is there any way through which we can handle this?
Can I have multiple meta tag for each of its segment? I can have multiple html tags inside one HTML file as well.
It is not possible to convert each segment of HTML into a common encoding say utf-8 because there are n number of possible charset encodings and having a common algo to convert them all is not that feasible. So I was hoping if there is anyway through which I can assign specified character encoding for each segment and browser can accordingly convert it.
If I am using any 1 character encoding then it seems to be working fine but my file can have multiple encoding.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
