tibberous Posted January 1, 2008 Share Posted January 1, 2008 I have a textarea, and am trying to get it to convert left and right facing quotes into “ and ” I figured I could do this with str_replace, and it seemed to work on windows. but not on linux, Does anyone know how to do this? Link to comment https://forums.phpfreaks.com/topic/83969-solved-converting-left-and-right-quotes/ Share on other sites More sharing options...
tibberous Posted January 1, 2008 Author Share Posted January 1, 2008 $search = array(chr(226).chr(128).chr(156), chr(226).chr(128).chr(157)); $replace = array('“', '”'); Link to comment https://forums.phpfreaks.com/topic/83969-solved-converting-left-and-right-quotes/#findComment-427289 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.