I have been trying to figure out how to correctly format a status update with quotes (single or double) in it for a while with no luck. The quotes always seem to end up escaped with a slash when posted to twitter. Any advice or suggestions are appreciated. Here is the PHP I'm using, the commented lines obviously have not worked out...
$status = utf8_encode($status); // $status = urlencode($status); // $status = htmlspecialchars($status);
