Copyright character

See all posts Reply

Copyright character  new!
by Solomon, 16 years, 10 months ago
Hi all, has anyone ever used the copyright character in the $upload->image_text?

When I try it, it outputs garbage... any help would be appreciated. Thanks!Reply
Re: Copyright character  new!
by colin, 16 years, 10 months ago
image_text supports only ASCII characters for now. I will try to implement UTF-8 in a future version, but there is quite a bit of work to do to have it working fine.Reply
Re: Copyright character  new!
by peter, 15 years, 10 months ago
and how does the include of the asccii copyright work. I use the chr(169) but this doesn't give me the copyright character.Reply
Re: Copyright character  new!
by colin, 15 years, 10 months ago
The class doesn't support text in utf-8 yet. It is planned in a future release.

In fact, the class uses imagestring to write text, which support only latin-2 encoding. In a future version, the class will use imagettftext which will offer more features, including support for utf-8.Reply