[FX.php List] Extra content at the end of the document

Dale Bengston dbengston at tds.net
Wed Oct 29 06:57:16 MDT 2008


I think this is one of the exceptions. I believe the original poster  
mentioned FM6.

FMSA
<meta http-equiv="content-type" content="text/html; charset=UTF-8">

FM5-6U US
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">

FM5-6U EU
<meta http-equiv="content-type" content="text/html;  
charset=iso-8859-15">

Dale

On Oct 29, 2008, at 2:27 AM, Gjermund Gusland Thorsen wrote:

> It's usually not a problem as long as you use UTF-8 in the header of
> your HTML output...
>
> But there might be exceptions
>
> ggt667
>
> 2008/10/28 Tim 'Webko' Booth <tim at nicheit.com.au>:
>>
>> On 29/10/2008, at 6:49 AM, Steve Winter wrote:
>>
>>> Valid conclusion, suspect incorrectly encoded characters in the  
>>> field with
>>> the largest amount of data probably generated by someone doing a  
>>> copy and
>>> paste from word...
>>
>> Yep, I'd support that - smart quotes and the like have caused me a  
>> lot of
>> problems over time. You can set the database to not use them, but  
>> pasting in
>> stuff from Word seems to get around that.
>>
>> Try running the output through a replace function to strip them...  
>> Off the
>> top of my head, something like
>>
>> function convert_smart_quotes($string)
>> {
>>   $search = array(chr(145),
>>                   chr(146),
>>                   chr(147),
>>                   chr(148);
>>
>>   $replace = array("'",
>>                    "'",
>>                    '"',
>>                    '"');
>>
>>   return str_replace($search, $replace, $string);
>> }
>>
>> Cheers
>>
>> Webko
>> _______________________________________________
>> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1582 bytes
Desc: not available
Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20081029/5d4480ba/smime-0001.bin


More information about the FX.php_List mailing list