printing ISO characters

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
joal
Forum Newbie
Posts: 1
Joined: Mon Apr 21, 2003 9:38 am
Location: Guadalajara, MX

printing ISO characters

Post by joal »

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/)
Post Reply