[FX.php List] Re-Continuing problem with parsing apostrophes

Gjermund Gusland Thorsen ggt667 at gmail.com
Thu Mar 3 14:12:59 MST 2011


It’s probably your header that is off, try this:
---
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="us" xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>Bob forever!</title>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
</head>
---

2011/3/2 Bob Patin <bob at patin.com>:
> Sorry, didn't work...
>
>
> On Mar 2, 2011, at 9:26 AM, Masayuki Nii wrote:
>
>> Hi Bob,
>> Try below:
>>
>> $fx->setCharacterEncoding( 'UTF-8' );
>>
>> Bob Patin <bob at patin.com> さんが、2011/3/3 0:14:06に送られた
>> ---“[FX.php List] Continuing problem with parsing apostrophes”によりま
>> すと
>>> I'm still having trouble with the following:
>>>
>>> I'm reading from one table, doing stuff, and then writing the same record to a new table.
>>>
>>> If the text is something like
>>>
>>> Bob's
>>>
>>> it displays fine on my page, but when I write it back to the new table, it gets changed to
>>>
>>> Bob&#8217;s
>>>
>>> What's the command to make sure that it gets written back to the database properly? I thought it was stripslashes() but I can't seem to get that to do anything.
>>>
>>> Thanks,
>>>
>>> Bob Patin
>>> Longterm Solutions
>>> bob at longtermsolutions.com
>>> 615-333-6858
>>> http://www.longtermsolutions.com
>>> iChat: bobpatin
>>> FileMaker 9, 10 & 11 Certified Developer
>>> Member of FileMaker Business Alliance and FileMaker TechNet
>>> --
>>> Expert FileMaker Consulting
>>> FileMaker Hosting for all versions of FileMaker
>>> PHP • Full email services • Free DNS hosting • Colocation • Consulting:
>>>
>>>
>>>
>>
>> _______________________________________________________________
>> Masayuki Nii/Masayuki Nii <msyk at msyk.net> <msyk at mac.com>:iChat Ready
>> Web Site <http://msyk.net> / INTER-Mediator [for Web App] http://msyk.net/im
>> OME [Email] http://mac-ome.jp / Tutoring Sevice http://msyk.net/tutoring.html
>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>


More information about the FX.php_List mailing list