Log in

View Full Version : Character encoding for an element?



ItsMeOnly
11-06-2006, 08:37 PM
HIya,

I have a little problem: I was messing with language "options" of my page and decided to introduce encodings that change whether new language is selected.
I'd would live happily ever after if not for one little bugger:
http://rambo.id.uw.edu.pl/dvd.html?poz=77

Yep, it displays "bushes" instead of Polish character set, because of ISO-8859-1.
Of course, I could convert it to Unicode and not bother, however, working with 77 include files without any batch conversion is tedious to achieve at best- I'm googling a batch converter as I write.

So
Q: is there any way way to specify character set for an element independent to page encoding? I looked at W3C specs and there seems not to be any...

mwinter
11-07-2006, 08:34 PM
is there any way way to specify character set for an element independent to page encoding?

No. The character encoding is (or certainly should be) specified in the HTTP Content-Type header, only. It applies to the entire response body.

Mike