• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [OT] Bad Characters from Unicode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] Bad Characters from Unicode


  • Subject: Re: [OT] Bad Characters from Unicode
  • From: Sander Tekelenburg <email@hidden>
  • Date: Wed, 3 Oct 2007 08:02:12 +0200

At 18:30 +0100 UTC, on 2007-10-02, has wrote:

[...]

> If you don't already have some understanding of character sets,
> encodings, the distinction between 'bytes' and 'characters', etc.
> then I recommend brushing up your knowledge first as you won't get
> far otherwise. Here's a good place to start:
>
> 	http://www.joelonsoftware.com/articles/Unicode.html

Nice article. The simplification about meta http-equiv is IMO on the edge
though:
[1] It often *is* possible to configure just your bit of your webserver to
send the proper different Content-Type header (for instance through Apache's
.htaccess or MultiViews mechanisms, or through the programming language (like
PHP) you use to generate the content)
[2] if you just insert a meta http-equiv in your document without ensuring
that the server sends either no value, or the same value, you'll be sending
two different claims about the applicable character encoding to the browser.
One through HTTP and one via the meta http-equiv. So far it hasn't been
defined what a browser should do in that case (there are plans to define this
in HTML 5). In practice, today's popular browsers will favour the meta
http-equiv and ignore the HTTP-provided Content-Type. But since that is
undefined, it might change, possibly making your old documents inaccessible.

So it's still advisable to ensure that your server claims the actual
character encoding of a document, through HTTP. (If you serve through some
other protocol, a meta http-equiv may be your only option. IIRC ftp doesn't
have a concept of headers for this sort of stuff.)

Other than that, it's a good article :)


--
Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Re: Bad Characters from Unicode (From: has <email@hidden>)

  • Prev by Date: Search and replace script (Quark)
  • Next by Date: [ANN] Smile 3.2
  • Previous by thread: Re: Bad Characters from Unicode
  • Next by thread: Re: [OT] Bad Characters from Unicode
  • Index(es):
    • Date
    • Thread