[thelist] Multiple character sets in the same document?

Judah McAuley judah at wiredotter.com
Mon Apr 8 10:49:00 CDT 2002


Ben Henick wrote:
> Is it possible to create a document which refers to different character
> sets... but does not refer to both in the header...
>
> ...And still validates (by means of an inline character set declaration)?
>
> I suspect that this is not the case, after examining the HTML4
> Recommendation.
>
> Could someone shout back and prove or disprove my findings?

As I read it, you can only specify one character set.  You could,
however, specify a broad character set (say Unicode) and then use the
lang attribute to mark up text to use different parts of that character set.

I think that's as good as we get with 4.01

HTH,
Judah





More information about the thelist mailing list