Hey Bob,
That's curly quote (hence the odd behavior). I looked on the web, and
most people were using str_replace() to handle things, something like this:
$output = str_replace(array('“', '”', '‘', '’'), array('"', '"', "'",
"'"), $myString);
I think that should do it. I haven't tested this, so some tweaks may be
needed.
Best,
--Chris
On 2/28/18 4:12 PM, Bob Patin wrote:
Hi guys,
I’m trying to write a string to FileMaker:
Mohr’s Explorers
and it’s getting HTML-encoded so that it writes to FM as
Mohr’s Explorers
I’ve been trying to remember the command to prevent this, tried using
htmlspecialchars_decode($my_string),
but that doesn’t work… I also tried
htmlspecialchars_decode($my_string, ENT_QUOTES)
but that’s not doing it either. Anyone recall what I need to use here?
Thanks,
Bob Patin
Longterm Solutions
bob@xxxxxxxxxxxxxxxxxxxxx <mailto:bob@xxxxxxxxxxxxxxxxxxxxx>
615-333-6858
FileMaker 9, 10, 11, 12 & 13 Certified Developer
http://www.longtermsolutions.com
-
iChat: bobpatin@xxxxxx <mailto:bobpatin@xxxxxx>
Twitter: bobpatin
—
FileMaker Consulting
FileMaker Hosting for all versions of FileMaker
PHP • Full email services • Free DNS hosting • Colocation • Consulting