Welcome Guest, Not a member yet? Register   Sign In
UTF-8 Latin 1 etc... I moved to linux and nothing seems to work properly
#1

[eluser]snaggy[/eluser]
This is a problem I hadn't encountered in windows, in my pages written in italian with italian special characters such as òàùèì that show up as question marks...

I don't know if I should use UTF-8 or Latin 1, can you suggest me which one should I use (easiest one)?

I have a database in MySQL in which I can choose the collation... what to pick?

In codeigniter my php files are encoded as UTF-8 I think, this is what Zend creates when I make a new file.

In my view files charset can be set to either UTF-8 or ISO-8859-1

The point is that with every possible combination it doesn't seem to work. If I use Latin 1 as I did on windows firefox reads it as utf all the same, dunno why:
Code:
<html>

<head>
<title>My Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Language" content="it">
</head>

<body>

<p>questa � la home page</p>

&lt;/body&gt;

&lt;/html&gt;


even if the php files is encoded in latin 1 (does this matter?)

I'm really confused, can anyone help or at least tell me what he/she does so that I can copy?

thanks!
Bye


Messages In This Thread
UTF-8 Latin 1 etc... I moved to linux and nothing seems to work properly - by El Forum - 08-24-2007, 04:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB