Re: [PHP] Problem with HTML special characters
Michelle Konzack schreef: * Do not Cc: me, because I READ THIS LIST, if I write here * *Keine Cc: am mich, ich LESE DIESE LISTE wenn ich hier schreibe* LIKE I CARE. hack your mail server / mail client / whatever if it bother's you so much. BTW it's the list that's being CC'ed Hello *, On my Website I have a NEWS section which I can edit On-Line over my Web-Interface but I have a problem with umlauts. I can enter the ü as uulm; and it is saved as such and it works properly but, if I now want to re-edit the NEWS, it is schown as ü in the input field of the TEXTAREA. grmpf Is there a command/function which can convert a whole text that it is shown correctly with all ...; sequences? your going about it all wrong. you should enter ü, ü should be in the database and if your output encoding requires it ü should be entized (including in the textarea) to uulm; when you output the content. you can hack your way roung it by double entitizing so that uulm; becomes amp;uulm; in the source (between textarea and /textarea when the editor page is output. you'll probably have to use a nasty little regexp for that in order to avoid double entizing amp; into amp;amp; (hint: negative lookahead assertion) Thanks, Greetings and nice Day/Evening Michelle Konzack Systemadministrator 24V Electronic Engineer Tamay Dogan Network Debian GNU/Linux Consultant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Problem with HTML special characters
* Do not Cc: me, because I READ THIS LIST, if I write here * *Keine Cc: am mich, ich LESE DIESE LISTE wenn ich hier schreibe* Hello *, On my Website I have a NEWS section which I can edit On-Line over my Web-Interface but I have a problem with umlauts. I can enter the ü as uulm; and it is saved as such and it works properly but, if I now want to re-edit the NEWS, it is schown as ü in the input field of the TEXTAREA. grmpf Is there a command/function which can convert a whole text that it is shown correctly with all ...; sequences? Thanks, Greetings and nice Day/Evening Michelle Konzack Systemadministrator 24V Electronic Engineer Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ # Debian GNU/Linux Consultant # Michelle Konzack Apt. 917 ICQ #328449886 +49/177/935194750, rue de Soultz MSN LinuxMichi +33/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com) signature.pgp Description: Digital signature
Re: [PHP] Problem with HTML special characters
I'm wondering why you are using uuml;. If you had your site in UTF-8 it would not be necessary. Even google is using UTF-8 these days. I guess your browser automaticly converts the uuml; in your textarea into the namespace-proper ü. You could try using htmlentities to convert the into amp; or use a different namespace. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php