I have a string I’m pulling from a Filemaker database that’s supposed to read
Pete Dye–designed golf course
but my array returns it as
Pete Dye–designed golf course
i think this has to do with encoding but i’m not sure…how can i correct this error? if it comes down to it, i don’t mind making an str_replace() array for all of the issues, but it would be nice to not have to find the exceptions individually.
thanks!
A quick and dirty workaround is to use
iconvfunction with//TRANSLITparameter:Note that the three byte sequence
–is converted to a-which is the approximate representation of the unicode–.