[opensuse] help about php5 and utf8
Hello. I wrote last year a php script to create photo dvd's with comments, using the exif comments. example of the result: http://media.dodin.free.fr/galerie_photo_web/public/dvd/index.html manual in french http://dodin.org/mediawiki/index.php/CEDA now, with php5, I have minor problems. the accents are no more displayed correctly. I know little about php - I use this language because I started with a php script from an other source (but had then, alas, to rewrite it almost entirely). I've seen some words about configuring a module to have utf8, but don't really understand it $texte = wordwrap($texte, $nbrecaracteresparlignesiimghorizontale, "\n", 1); echo $texte."\n"; prints the text _with_ the accents, but ImageTTFText($img_out,$tailletexte,$angletexte,$textex,$textey,$couleurtexte,$nomdelapolicetexte,$texte); gives an image with utf8 displayed as iso (I beg) http://fr2.php.net/manual/en/function.imagettftext.php says: Strings in UTF-8 encoding can be passed directly. any idea? thanks jdd -- http://www.dodin.net Le manuel d'optique de Lucien Dodin http://lesprismes.free.fr/optique/index.html -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
jdd escribió: ives an image with utf8 displayed as iso (I beg)
http://fr2.php.net/manual/en/function.imagettftext.php says: Strings in UTF-8 encoding can be passed directly.
any idea?
Yes, you are not the first person with this problem, there is a similar report on buzgilla. looks like a bug in either php bundled libgd or freetype2.. have not found the real cause yet (maybe when back from the beach the next week I will =) )
I was said (by Cristian Rodriguez R), that a patch was writen for this accent problem. I just DL with You a bunch of php5 updates, but the bug is still here is there a way to get the patch (even by hand) thanks jdd -- http://www.dodin.net Lucien Dodin, inventeur http://lucien.dodin.net/index.shtml -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
jdd escribió:
I was said (by Cristian Rodriguez R), that a patch was writen for this accent problem.
I just DL with You a bunch of php5 updates, but the bug is still here
is there a way to get the patch (even by hand) thanks jdd
it is not there, probably will be in the second part of fixes for the Month of PHP bugs. packages with "the fix" are only available in the buildservice currently.
Cristian Rodriguez R. wrote:
jdd escribió:
I was said (by Cristian Rodriguez R), that a patch was writen for this accent problem.
I just DL with You a bunch of php5 updates, but the bug is still here
is there a way to get the patch (even by hand) thanks jdd
it is not there, probably will be in the second part of fixes for the Month of PHP bugs.
packages with "the fix" are only available in the buildservice currently.
thanks I will look there... jdd -- http://www.dodin.net Lucien Dodin, inventeur http://lucien.dodin.net/index.shtml -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Cristian Rodriguez R. wrote:
packages with "the fix" are only available in the buildservice currently.
can you say wich one? http://benjiweber.co.uk:8080/webpin/index.jsp?distro=10.2&searchTerm=php5 thanks jdd -- http://www.dodin.net Lucien Dodin, inventeur http://lucien.dodin.net/index.shtml -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Cristian Rodriguez R. wrote:
jdd escribió:
I was said (by Cristian Rodriguez R), that a patch was writen for this accent problem.
I just DL with You a bunch of php5 updates, but the bug is still here
is there a way to get the patch (even by hand) thanks jdd
it is not there, probably will be in the second part of fixes for the Month of PHP bugs.
If you mean bug 236680, then please reopen it if you think the fix needs to be added to 10.2 (and add an explanation why you think so). Atm is't only fixed in the bs project, which I'm going to copy to Factory now. For released distributions, we usually only fix security bugs, so you have to tell us in cases like this. Michal -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Michal Marek wrote:
Cristian Rodriguez R. wrote:
jdd escribió:
I was said (by Cristian Rodriguez R), that a patch was writen for this accent problem.
I just DL with You a bunch of php5 updates, but the bug is still here
is there a way to get the patch (even by hand) thanks jdd
it is not there, probably will be in the second part of fixes for the Month of PHP bugs.
If you mean bug 236680, then please reopen it if you think the fix needs to be added to 10.2 (and add an explanation why you think so). Atm is't only fixed in the bs project, which I'm going to copy to Factory now. For released distributions, we usually only fix security bugs, so you have to tell us in cases like this.
Michal
I think having a bs repository with the fix is perfectly nice for me (but I don't know about the bug with this number) jdd -- http://www.dodin.net Lucien Dodin, inventeur http://lucien.dodin.net/index.shtml -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
jdd wrote:
I think having a bs repository with the fix is perfectly nice for me (but I don't know about the bug with this number) jdd
what is the better to make this available to anybody: * nothing, anybody can read list archives * open a bugzilla record and close it with the solution * write this on the wiki (and whare? on php page or bug page?) jdd -- http://www.dodin.net Lucien Dodin, inventeur http://lucien.dodin.net/index.shtml -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Cristian Rodriguez R.
-
jdd
-
Michal Marek