siddscool19 Posted October 18, 2008 Share Posted October 18, 2008 How can we encode only few characters and not all? Link to comment https://forums.phpfreaks.com/topic/128953-encode-few-characters-and-not-all/ Share on other sites More sharing options...
siddscool19 Posted October 18, 2008 Author Share Posted October 18, 2008 Also if i try to encode a large data few characters are encoded in different way and if i try them with small data they are in different way? How to solve this problem? Example: ' Its in this format if i encode a large data %92 Whereas it should be in this format %27 Link to comment https://forums.phpfreaks.com/topic/128953-encode-few-characters-and-not-all/#findComment-668550 Share on other sites More sharing options...
kenrbnsn Posted October 18, 2008 Share Posted October 18, 2008 The character encoded as "%92" is a "smart quote" most likely cut/pasted from a Microsoft document. You need to replace those characters with ASCII characters. Read Convert Smart Quotes with PHP. Ken Link to comment https://forums.phpfreaks.com/topic/128953-encode-few-characters-and-not-all/#findComment-668608 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.