[FX.php List] Problem with text formatting

Bob Patin bob at patin.com
Tue Aug 14 19:00:38 MDT 2007


Joel,

In my test it worked perfectly; thanks!

I'll toast you tonight!

Bob


On Aug 14, 2007, at 7:47 PM, Joel Shapiro wrote:

> Hey Bob
>
> There was a thread on TechTalk a while back ("Encoded characters in  
> fx-php") with a solution they finally found for their problem.   
> Don't know if this would help you:
>
> ~~~~~~~~~~~~~~~~
> The solution, when writing a field to FileMaker that may include
> funny characters, is to utf8_encode() the value before writing it.
>
> Thus:
> $query->AddDBParam('fieldname', utf8_encode($value));
>
> The FX function SetDataParamsEncoding() sounds like it's supposed to
> accomplish the proper encoding of the value to be passed to FileMaker
> but doesn't appear to help in this situation.
>
> Hope this helps - I've read on the web that a lot of other people
> have reported this same problem.
> ~~~~~~~~~~~~~~~~
>
> HTH,
> -Joel
>
>
> On Aug 14, 2007, at 5:39 PM, Bob Patin wrote:
>
>> After spending 27 hours on a project for a firm that does Japanese  
>> translation work, they're now telling me that they're unable to  
>> use the UTF-8 encoding that I used on all their forms.
>>
>> According to my client, if we use UTF-8 on the forms, they'll not  
>> show properly on some Windows machines. Is this true?
>>
>> I'm using this tag:
>>
>> <meta http-equiv="content-type" content="text/html; charset=UTF-8">
>>
>> My client wants to use:
>>
>> <meta http-equiv="Content-Type" content="text/html;  
>> charset=Shift_JIS" />
>>
>> When I try to use his META tag, the forms don't process, and I get  
>> a 958 error (I think that was the #).
>>
>> Has anyone had any experience with this? I'm now worried that  
>> they're going to stiff me on almost $2000 outstanding, so this is  
>> a serious situation.
>>
>> Any help would be greatly appreciated...
>>
>> Bob Patin
>> Longterm Solutions
>> bob at longtermsolutions.com
>> 615-333-6858
>> http://www.longtermsolutions.com
>>
>>   CONTACT US VIA INSTANT MESSAGING:
>>      AIM or iChat: longterm1954
>>      Yahoo: longterm_solutions
>>      MSN: tech at longtermsolutions.com
>>      ICQ: 159333060
>>
>>
>> _______________________________________________
>> 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