lightbox + prototype + Ajax.Request + Content-type = mangled diacritics?
I'm using a lightbox to display content fetched using Prototype's Ajax.Request. What the lightbox does is it essentially just document.writes a <div> with z-index:1000 (so it "floats above the page"). This works just fine however not when there's any diacritics (accent marks like ľ, š, č, ť, ž, ý, á, í, é, ř, ě, you get the idea) in the document that's being fetched through Ajax.Request. It still works but the accent marks aren't displayed correctly, there's just a "?" (question mark) instead of the letter. The parent document has a <meta http-equiv="Content-type" content="text/html; charset=windows-1250"> set and all the diacritics contained directly in this document do appear correctly. The problem occurs only with the content fetched from the server through Ajax.Request.
I would post the code yet I don't believe the code is really the issue. It may be the document encoding, or the server's transfer encoding or something like that.
Should anyone be able to help, I'd greatly appreciate it for I'm quite lost and I haven't been able to find a single relevant hit on Google...
Files are hosted on a Linux server running Apache 2 + PHP 5.