๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.python
Article #27384

Re: minidom, UTF-8, zapis do pliku

#27384
From: Jordan Szubert
Date: Thu, 18 Mar 2010 18:02
6 lines
1285 bytes
Dnia 18-03-2010 o 14:33:13 quazar <dstroj@gmail.com> napisaล‚(a):

[...]
-      xmlOut.write(DOMTree.toxml())
+      xmlOut.write(DOMTree.toxml(encoding='utf-8'))
[...]
Technical Details
Message-ID: <op.u9ry2ujvus2y1v@klaptop7>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.glorb.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mail
References: <3adc299d-e0ee-45fd-93d0-4474acc80d1d@e7g2000yqf.googlegroups.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.glorb.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mail
From: "Jordan Szubert" <nie@podam.na.razie>
Newsgroups: pl.comp.lang.python
Subject: Re: minidom, UTF-8, zapis do pliku
Date: Thu, 18 Mar 2010 19:02:44 +0100
Organization: HELL inc.
Lines: 6
Message-ID: <op.u9ry2ujvus2y1v@klaptop7>
References: <3adc299d-e0ee-45fd-93d0-4474acc80d1d@e7g2000yqf.googlegroups.com>
NNTP-Posting-Host: asx228.neoplus.adsl.tpnet.pl
Mime-Version: 1.0
X-Trace: nemesis.news.neostrada.pl 1268936056 2352 83.26.235.228 (18 Mar 2010 18:14:16 GMT)
X-Complaints-To: usenet@news.neostrada.pl
NNTP-Posting-Date: Thu, 18 Mar 2010 18:14:16 +0000 (UTC)
User-Agent: Opera Mail/10.50 (Win32)
X-Antivirus: avast! (VPS 100318-1, 2010-03-18), Outbound message
X-Antivirus-Status: Clean
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit