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

Bob Patin bob at patin.com
Wed Mar 2 09:02:40 MST 2011


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



More information about the FX.php_List mailing list