Article View: fr.comp.text.xml
Article #8759Re: charset
From: Thomas Broyer
Date: Mon, 23 Jul 2001 10:23
Date: Mon, 23 Jul 2001 10:23
20 lines
1744 bytes
1744 bytes
In <9jgopp$qvb$1@wanadoo.fr>, Sylvain BOURDETTE wrote:
Puisqu'on est dans la hi�rarchie fr.*, parlons fran�ais...
> I completed my xml/xsl --> html transformation
> but, I obtain some chinese character in my result.
> I think the charset is not good.
> Where should i specify the charset ? in the xml, in the xsl ? or in other
> place ?
Plusieurs points � prendre en compte :
� Tu peux d�finir l'encodage du document de sortie via xsl:output dans ta
feuille de style.
� En HTML (version SGML), il est recommand� d'utilis� un �l�ment META
HTTP-EQUIV="Content-Type" pour pr�ciser l'encodage du document.
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Il faut faire correspondre ces deux d�clarations.
Tom.
Technical Details
Message-ID:
<4167661.YUQgxmLvFx@ltgt.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!193.251.151.101!opentransit.net!fr.clara.net!heighliner.fr.clara.net!proxad.net!feeder2-1.proxad.net!nnrp1.proxad.net.POSTED!not-for-mailReferences:
<9jgopp$qvb$1@wanadoo.fr>Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,UTF8 X-Google-Thread: 114f60,e5bf35e8780182ea X-Google-Attributes: gid114f60,public X-Google-ArrivalTime: 2001-07-23 03:23:23 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!193.251.151.101!opentransit.net!fr.clara.net!heighliner.fr.clara.net!proxad.net!feeder2-1.proxad.net!nnrp1.proxad.net.POSTED!not-for-mail Message-ID: <4167661.YUQgxmLvFx@ltgt.net> From: Thomas Broyer <ptittom+news@free.fr> Subject: Re: charset Newsgroups: fr.comp.text.xml References: <9jgopp$qvb$1@wanadoo.fr> Lines: 20 Organization: </> User-Agent: KNode/0.5.6 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8Bit Date: Mon, 23 Jul 2001 10:23:23 GMT NNTP-Posting-Host: 193.251.185.50 X-Complaints-To: abuse@proxad.net X-Trace: nnrp1.proxad.net 995883803 193.251.185.50 (Mon, 23 Jul 2001 12:23:23 CEST) NNTP-Posting-Date: Mon, 23 Jul 2001 12:23:23 CEST