[FX.php List] Re: Mysterious asterisks appearing in fields

Kevin Futter kfutter at sbc.melb.catholic.edu.au
Wed Mar 7 15:55:31 MST 2007


On 8/3/07 9:37 AM, "Dale Bengston" <dbengston at preservationstudio.com> wrote:

> Kevin,
> 
> Let's separate the character encoding with which an HTML page or PHP
> script is *saved* by the programmer's text editor from the Apache
> setting and/or meta tags used to *render* that page in a browser, or
> interpret user input in a form.
> 
> Encoding does matter; it is not just a label. Try this experiment on
> a site that talks to FMSA 7 or 8:
> 
> 1. Put this tag at the top of a page that contains an HTML form with
> a textarea for input:
> <meta http-equiv="content-type" content="text/html;
> charset=iso-8859-1">
> 2. Copy some text from MS Word (Windows) and paste it in the textarea.
> 3. Submit the form.
> 4. Take a look at what you get in your corresponding FileMaker field.
> 
> Then replace the tag above with:
> <meta http-equiv="content-type" content="text/html; charset=UTF-8">
> 
> ...repeat the Word paste and see what you get.
> 
> Dale

You're missing the point Dale - this: <meta http-equiv="content-type"
content="text/html; charset=UTF-8"> *is* just a label (and *not* encoding,
and I suspect we're talking at cross purposes about that one). Unfortunately
it matters in that some applications that receive data via the web use this
label (and assume it's accurate) to determine how it treats that data. If
the meta element (it's not a tag) or MIME type is different from the
actually document encoding, you've got problems.

-- 
Kevin Futter
Webmaster, St. Bernard's College
http://www.sbc.melb.catholic.edu.au/




#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared 
by MailMarshal
#####################################################################################

This e-mail and any attachments may be confidential. You must not disclose or use the information in this e-mail if you are not the intended recipient. If you have received this e-mail in error, please notify us immediately and delete the e-mail and all copies. The College does not guarantee that this e-mail is virus or error free.  The attached files are provided and may only be used on the basis that the user assumes all responsibility for any loss, damage or consequence resulting directly or indirectly from the use of the attached files, whether caused by the negligence of the sender or not. The content and opinions in this e-mail are not necessarily those of the College.


More information about the FX.php_List mailing list