note 48511 added to function.strtr

From: Date: Mon, 27 Dec 2004 19:37:07 +0000
Subject: note 48511 added to function.strtr
Groups: php.notes 
Request: Send a blank email to php-notes+get-82365@lists.php.net to get a copy of this message
Regarding persiflage2000's message posted on 01-Aug-2001: If you are doing to cut and paste this function into your php code to handle bad MSoft characters, do so from an IE browser running on a windows OS. This was painful for me, since I run a Linux box and try to avoid windows when ever possible. When I copied the code from a Mozilla browser on my Fedora C2 installation, The MSoft quotes got "transformed", thus my function did not work anymore. persiflage2000, your function worked great for me. I used it to manipulate text in a textarea (often cut and pasted from Word by end users). ---- Manual Page -- http://www.php.net/manual/en/function.strtr.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+48511 Delete -- http://master.php.net/manage/user-notes.php?action=delete+48511&report=yes Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48511&report=yes&reason=bad+code Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48511&report=yes&reason=spam Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48511&report=yes&reason=useless+example Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48511&report=yes&reason=contains+commercial+links Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48511&report=yes&reason=useless+note Reject -- http://master.php.net/manage/user-notes.php?action=reject+48511&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#82365) next »