[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [PROGRAMMERING] contentType og utf-8



[ XFUT sslug.locale - og følg det venligst ]

Michael Rasmussen skrev:

> Hvis man i contentType skriver text/plain, kan tekst så
> været encodet i utf8?

Jeg vil gå ud fra at du snakker om MIME-type, når du nu ikke
bekymrer dig om at fortælle os lidt mere om sammenhængen.

MIME-typer er ikke defineret af eller registreret hos ISO.

Alle "text/*"-MIME-typerne har den alvorlige mangel at de i
sig selv ikke er veldefinerede, men kræver at man tilføjer
en oplysning om tegnkodningen.  Enkelte "text/*"-MIME-typer
(for eksempel de første udgaver af HTML) omgår dette problem
ved at definere et standardtegnsæt for typen, men det gælder
_ikke_ "text/plain".

Hvis en tekst er kodet i UTF-8, bør MIME-typen være
"text/plain; charset=utf-8" (med forbehold for semikolonet
og bindestregen).

Jacob
-- 
»Det er ikke livets hastighed jeg har noget imod.
 Det er den bratte afslutning til sidst.« --  Stoffer



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:54 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *