Nodral Posted October 26, 2011 Share Posted October 26, 2011 Hi I'm using php to create URL's for Google Maps API from a massive database of locations so that each one appears on the web page with the details and a map of the immediate area. I've got 90% of this working, however I have an issue with the French (lol). Where they have a name such as Cotes d'zure, the apostrophe makes the URL fail and no map show. Does anyone know of a work around for this? Would urlencode solve this issue? Quote Link to comment Share on other sites More sharing options...
AyKay47 Posted October 26, 2011 Share Posted October 26, 2011 urlencode should do the trick here. will convert it into url friendly characters. Quote Link to comment Share on other sites More sharing options...
Nodral Posted October 26, 2011 Author Share Posted October 26, 2011 Brilliant, cheers Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.