[FX.php List] passing unicode to filemaker
Erik Andreas Cayré
erik at cayre.dk
Sun Aug 6 06:25:17 MDT 2006
Den 04/08/2006 kl. 21.28 skrev Alex Gates:
> Hi everyone - I searched around to try to find my answer, but I am
> having no luck.
>
> I've been working on a ton of str_replace to replace a bunch of
> stuff in
> a recipe submission form...
> I'd like to add another to replace "degrees" with ° . I can't get
> it to
> pass through... and I am not sure if it is a PHP or an FX.PHP
> problem...
> Is there any special formatting I need to do in my PHP to send it as
> Unicode? (U+00B0) -
Your best bet to enter literal text from a form into FMP, is to use
<meta http-equiv="content-type" content="text/html; charset=utf-8">
on all pages.
utf-8 is the encoding used by the xml-interface in FMP and thus in
FX.php also.
This will save you at ton of textmanipulation work going in and out
of FMP
---
Erik Andreas Cayré
Spangsbjerg Møllevej 169
DK-6705 Esbjerg Ø
Home Tel: +45 75150512
Mobile: +45 40161183
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1856 bytes
Desc: not available
Url : http://www.iviking.org/pipermail/fx.php_list/attachments/20060806/c770692f/smime.bin
More information about the FX.php_List
mailing list