Hi,

When I write with imagestring() and I write in french something with a "é" I get a weird character instead of the "é".

How can I change to UNICODE?

    Anyone know if the GD librairy could solve this problem?

      Well, imagestring() is a monospace font that is pretty limited. You may have better luck with something like [man]imagettftext/man or [man]imagepstext/man.

        I recommend that you don't try to use any Unicode encoding with PHP - it does not support them properly, all the strlen() etc functions will return the wrong answer and many libraries do not take into account encodings.

        Better to use an 8-bit encoding which supports your language, for French, ISO-8859-1 should do. This is usually the default.

        Mark

          Thx guy. I will take a look 🙂

            Write a Reply...