I expected this code:
define('EURO_SIMBOLO', chr(128));
$euro = EURO_SIMBOLO;
var_dump($euro);
to show the €
symbol, but it doesn't. Why does this happen?
If you want to go with Unicode, UTF-8 more specifically, which I prefer because of its flexibility, you can output the Euro sign using:
echo "\xE2\x82\xAc"; // 3 bytes-long multibyte character