![]() |
Meta Encoding tag
OK I am using vBportal and I ran into this problem.
I got some of my content translated in Greek but to display properly, I need to add the Greek Encoding tag. Therefore I added ''<meta http-equiv="Content-Type" content="text/html; charset=Windows-1253">'; in my P_Home template. But this is strange. If you visit the PHP page you get some unknown encoding. If I save the page with my browser, upload and view (as .html) it displays fine. Any ideas? Original: http://www.everwicked.com/content/DivX_5_Guide_GR/ Save: http://www.everwicked.com/test.html HEEELP! :eek: |
I think you want headinclude, try puting that meta code into the headinclude template
|
Well, that can't make any difference since the exact same code works in the .html.
The only thing I can think of is that browsers don't pickup the encoding from .php files. But why? |
Your sending the charset as part of the content-type http header.
hdr>HTTP/1.1 200 OK hdr>Date: Tue, 11 Jun 2002 04:18:23 GMT hdr>Content-Type: text/html; charset=iso-8859-1 The content type in the http header takes preferance over any content type specified in the document you need to add PHP Code:
|
ah I see.
Ok thanks guys, I will try it out. |
All times are GMT. The time now is 12:29 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|