The Arcive of vBulletin Modifications Site. |
|
Meta Encoding tag Details »»
|
|||||||||||||||||||||||||
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! ![]() Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
I think you want headinclude, try puting that meta code into the headinclude template
|
|
#3
|
|||
|
|||
|
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? |
|
#4
|
|||
|
|||
|
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:
|
|
#5
|
|||
|
|||
|
ah I see.
Ok thanks guys, I will try it out. |
![]() |
|
|