Bad encoding when using on strftime in spanish?
<p>I'm trying to echo the date with strftime but I'm getting bad encoding on utf-8 only characters. (accented characters basically)</p>

<pre><code>setlocale(LC_TIME, 'spanish');
define("CHARSET", "iso-8859-1");
echo strftime("%A, %d de %B",strtotime($row['Date']));
</code></pre>

<p>Is there any problem in this part of the code? Everything is encoded in utf-8 and echoing a 'á' character above it displays the character correctly.</p>
