html - Prepopulated SMS text getting truncated after certain character(s). -


my mobile site uses simple html tag enable user call mobile's sms app mobile browser: <a href="sms:1234567?body=hello world">send sms</a>this prepopulates body of messages 'hello world' , phone number field '1234567'.

but i've noticed if body contains #, text beyond # gets truncated. instance if text <a href="sms:1234567?body=hello #world">send sms</a>only 'hello' prepopulates in body of text.

can shed light on why happens, , whether there's way circumvent this?

thanks.

as per alex k's response in comments, needed apply url encoding. i'm writing django app, in case, did following:<a href="sms:+92123?body={{ description|urlencode }}">sms</a>


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -