🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.text.xml
Article #8536

forcer l'encoding avec JAXP

#8536
From: leXav
Date: Wed, 26 Sep 2001 15:03
15 lines
1392 bytes
Bonjour,

Je g�n�re des documents XML � partir d'une base de donn�e et le tout via un
moteur de servlet. Je n'arrive pas � d�finir l'attribut 'encoding' de mon
document pour le rendre "iso-8859-1". Petit malin que je suis, J'ai bien
tent�

document.setAttribute("encoding", "iso-8859-1");

mais sans gd r�sultat puisque Document n'a pas de m�thode "setAttribute()"

Une id�e ?

--
leXav'
Technical Details
Message-ID: <9osqij$9r8$1@wanadoo.fr>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!opentransit.net!wanadoo.fr!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,a850cd0bbdc3b1bd,start
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-09-26 08:00:35 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!opentransit.net!wanadoo.fr!not-for-mail
From: "leXav@Home" <nobody@wanadoo.fr>
Newsgroups: fr.comp.text.xml
Subject: forcer l'encoding avec  JAXP
Date: Wed, 26 Sep 2001 17:03:26 +0200
Organization: Wanadoo, l'internet avec France Telecom
Lines: 18
Message-ID: <9osqij$9r8$1@wanadoo.fr>
NNTP-Posting-Host: abordeaux-101-1-2-84.abo.wanadoo.fr
X-Trace: wanadoo.fr 1001516435 10088 193.252.171.84 (26 Sep 2001 15:00:35 GMT)
X-Complaints-To: abuse@wanadoo.fr
NNTP-Posting-Date: 26 Sep 2001 15:00:35 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700