Encoding problem |
[eluser]InsiteFX[/eluser]
I use XAMPP because it just installs and sets everything for you. InsiteFX
[eluser]snifty[/eluser]
One other quick thing, I'm not sure if you were just abbreviated but the full tag to specify the encoding in your markup is: Code: <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> Not sure where you would have been putting Code: meta="utf-8" But you need the full line above. (It's ugly, huh? ![]() Glad to hear you got your app running on Amazon!
[eluser]ponto[/eluser]
Snifty I have used this as the meta markup: $meta = array( array('name' => 'robots', 'content' => 'no-cache'), array('name' => 'description', 'content' => 'My Great Site'), array('name' => 'keywords', 'content' => 'love, passion, intrigue, deception'), array('name' => 'robots', 'content' => 'no-cache'), array('name' => 'Content-type', 'content' => 'text/html; charset=ISO-8859-1', 'type' => 'equiv') ); echo meta($meta); And this is the product: <meta http-equiv="Content-type" content="text/html; charset=ISO-8859-1" /> To get the app working in a Linux server: In httpd.conf I have put this "AddDefaultCharset ISO-8859-1" In CI config.php I have ISO-8859-1 In CI database.php all utf-8 In CI views-file I have ISO-8859-1 and "<!Doctype html>" In mysql I have collation latin1_swedish_ci but it doesn't seam to matter if I use uft8_general_ci.
[eluser]osci[/eluser]
So much talk about utf8 and you are saying you are using 8859-1??????? Why this ISO? as sinfty suggested Quote:ponto, you need to make sure that *everything* is set to Unicode.
[eluser]ponto[/eluser]
I have changed everything to UTF-8 including the ADdDefaultCharset and here is the result http://79.125.116.38/index.php/blog/
[eluser]snifty[/eluser]
ponto, what happens if you explicitly tell your browser to switch between latin-1 to utf-8? For instance in Firefox, if I do View>Character Encoding, I can select Code: Unicode (UTF-8) Code: Western (ISO-8859-1) Another thing to keep in mind is that you might want to test with more than just a few words in the view, because the browser will sometimes rely on character counts to guess encodings (yes, even when all the headers and configurations are set). So it might confuse it further if you just hand it a few words to try to guess from. Also, as for the settings on your db, the Code: encoding Code: collation Hang in there!!
[eluser]snifty[/eluser]
ponto your page doesn't seem to be coming up for me.
[eluser]osci[/eluser]
[quote author="snifty" date="1306849066"]ponto your page doesn't seem to be coming up for me.[/quote] same here too btw I noticed it is hosted on amazon right? Could it be they have some settings too? |
Welcome Guest, Not a member yet? Register Sign In |