[SVN] snippets encoding

Kevin Ballard kevin at sb.org
Wed Mar 2 17:29:15 UTC 2005


If that's so, then why have I been able to use UTF-8 characters on my 
MovableType blog (which is static pages, so it's not the CGI declaring 
the encoding) with no problem?

On Mar 2, 2005, at 9:59 AM, Sune Foldager wrote:

> Meta-tags are not always enough though... because the server also 
> sends an encoding in the HTTP request, which takes precedence (and 
> with Apache, this encoding is per default latin1).
>
> With apache, one can (if allowed) use Options +MultiViews in .htaccess 
> and then call the file .index.utf8 or similar. Alternatively, another 
> .htaccess directive can set the default encoding to utf8:
> AddDefaultCharset utf-8
>
> Which sets it for mime-types text/html and text/plain. Or just for 
> some extensions:
> Addcharset utf-8 .foo .bar ...
>
> For reasons only known to Apache, you can't set it for mime-types. See 
> my mail on the main list for more details.

-- 
Kevin Ballard
kevin at sb.org
http://www.tildesoft.com
http://kevin.sb.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2378 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate-dev/attachments/20050302/284cd7a2/attachment.p7s>


More information about the textmate-dev mailing list