printing ISO characters
Posted: Mon Apr 21, 2003 9:38 am
I am trying to print a string with Latin1 characters, but a '-' or similar character is printed instead the correct iso character, like
echo "Mínimo mágico";
produce: m-nimo m-gico
I have tryied with utf8_encode, and htmlentities before printing, or using print and printf, but I only obtain different results, like mÄ-nimo mÍgico or mÍ?nimo mÈgico and some others.
Any idea about what is happening?.
(If you want to see it working, visit: http://biblioteca.joal.net/)
echo "Mínimo mágico";
produce: m-nimo m-gico
I have tryied with utf8_encode, and htmlentities before printing, or using print and printf, but I only obtain different results, like mÄ-nimo mÍgico or mÍ?nimo mÈgico and some others.
Any idea about what is happening?.
(If you want to see it working, visit: http://biblioteca.joal.net/)