I am using the underbelow link reference to publish share the link and title on twitter but when I am clicking on the link only
http://twitter.com/home?status=test+http://www.test.com/cgi-bin/show_post.pl?view_mode=single&post_id=134
but the tweet being generated, by the above link have url till
http://www.test.com/cgi-bin/show_post.pl?view_mode=single
All the special character in the shared link, need to be converted into hexa character