I am building a new website, everything is written in utf-8. I have several js and css files, along template html files. The output is in xml and xhtml, and I have tried to write everything strictly.
Generally, my perl program reads from a csv text database, mixes some of it with html templates, which also contain css and javascript refereces to files I wrote or libraries like reflection and prototype etc.
I have two servers to run and test these. First is local on my own computer running Linux Mint, Apache2, perl 5.8.8 etc. Second is a Debian which final results will be hosted on.
1. when I browse an html file (containing the same css and js etc, whithout passing the template through the perl file (there is one static index.html containg the same as what perl generates as index.html), there is no problem, everything is stable and a thousand refreshesh on any of two servers shows no difference or unstability.
2. Then when I browse the same code generated by my perl program, every now and then, when I refresh the page, it shows a little difference (change in font size, or line height etc.).
I guess this is maybe because I mix many files and a few of them might not be utf-8 (although I have tried to read all and save as utf-8 on Linux), and that the generated output misses some of the css info, but why only sometimes?! why this doesn't happen every time?
Can anybody please help?!
Paymaan.
But I remember such an alike problem a year ago when I was designing another site, and it was because of a css file. The problem is I can not find such file right now in my new site.
Another thing is that the static page which shows no problem, uses exactly the same set of css and javascript and html, Just does not pass through the perl script, so something with perl might be wrong.