[FX.php List] Return unicode rather than htmlentities

Steve Winter steve at bluecrocodile.co.nz
Wed Mar 31 23:22:21 MDT 2010


Duncan,

Possibly not a lot of help as it would require reworking your solution for the FM PHP API, but have you looked at getFieldUnencoded() within there...? (see http://jonathanstark.com/filemaker-api-for-php-documentation/FileMaker/FM_Record.html#getFieldUnencoded)

Cheers
Steve


On 1 Apr 2010, at 05:41, Duncan, Blair wrote:

> 
> html_entity_decode doesn’t work on objects...
> 
> I json encode the results of all FX queryies and fire them off as is.
> Was hoping for it to some how come pre-encoded rather than walking through everything in the object.
> 
> 
> 
>  
> Blair Duncan | Variable Data Manager
> SGL Communications | 2 Bloor St W, Suite 3100 Toronto ON M4W 3R6
> T 416-413-7537 | C 416-845-3357 | F 416-972-5656
> 
>  
> -Original Message-
> 
> 
> 
> 
> 
> On 01/04/2010, at 12:06 PM, Duncan, Blair wrote:
> 
> 
> 
> Dear list,
> 
> I’ve been doing a lot of work with Cappuccino – its nice for building real web apps that perform very much like desktop apps.
> Anyways, it like any desktop app, requires data in unicode format rather then htmlentities. 
> Rather than converting it on the client side, is there a easy way to request the data to be returned as unicode?
> html_entity_decode perhaps?
> 
> Cheers
> 
> Webko
> 
> 
> 
> -Original Message-
> 
> 
> 
> Please consider the environment before printing this e-mail.
> 
> This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by e-mail to helpdesk at bbdo.com. We appreciate your cooperation.
> 
>  
>  
> 
> 
> 
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list

Steve Winter
steve at bluecrocodile.co.nz
m: +44 77 7852 4776
3 Calshot Court, Channel Way
Ocean Village, Southampton SO14 3GR

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20100401/36a34e62/attachment.html


More information about the FX.php_List mailing list