Username:
Password:
Create an Account

Forgot your login?
Crafty Syntax Live Help Screen Shots Modules Comunity Donate My Account My Account My Account My Account My Account My Account My Account
SearchSearch    Log in to check your private messagesLog in to check your private messages   

Language Setting -- Charset not Overriding --

 
Post new topic   Reply to topic    craftysyntax.com Forum Index -> Bugs / Errors
View previous topic :: View next topic  
Author Message
support_mx



Joined: 20 Apr 2006
Posts: 37

PostPosted: Wed Jan 27, 2010 4:35 pm    Post subject: Language Setting -- Charset not Overriding -- Reply with quote

My native language is Spanish there was a lot of errors, searching I find that HTML meta tag cannot override Apache charset, this is because Apache first sends the headers so the embedd code on meta tag was not working.

I added the next code on lang-Spanish.php now it display properly:

Quote:

//charset
$lang['charset'] = "ISO-8859-1";
header('Content-Type:text/html; charset='.$lang['charset']);
Back to top
View user's profile Send private message
xenfasa



Joined: 20 Apr 2006
Posts: 2

PostPosted: Thu Jun 10, 2010 9:05 pm    Post subject: Reply with quote

Thank you!
I registered just to say your post possibly saved me lots of frustration and hours of trying to figure out why....

I added the extra line you posted above and it started working.

Thanks for posting,
Xenfasa
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    craftysyntax.com Forum Index -> Bugs / Errors All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group