Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #4207
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <airween@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.009 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'modified': 0.05; "(i'm": 0.09; '+0200,': 0.09; 'encoding.': 0.09; 'header,': 0.09; 'subject:parsing': 0.09; 'wrote:': 0.14; '>so,': 0.16; 'subject:XML': 0.16; 'switching': 0.16; 'yield': 0.19; 'header:In- Reply-To:1': 0.22; 'file,': 0.22; 'thu,': 0.22; 'thus': 0.24; "didn't": 0.25; 'wrote': 0.25; 'subject:problem': 0.25; 'xml': 0.26; 'changed': 0.27; "doesn't": 0.28; 'changing': 0.29; 'supports': 0.29; 'stefan': 0.29; 'probably': 0.30; '(the': 0.30; 'one)': 0.31; 'to:addr:python-list': 0.32; 'another': 0.32; "i've": 0.33; 'using': 0.34; 'change': 0.34; 'file': 0.35; 'editor': 0.35; 'header:User-Agent:1': 0.35; 'saves': 0.35; 'hello,': 0.36; 'apr': 0.38; 'user': 0.38; 'no.': 0.38; 'realize': 0.39; 'to:addr:python.org': 0.39; 'would': 0.40; 'header:Received:5': 0.40; 'received:86': 0.60; 'choose': 0.61; '2011': 0.62; 'else...': 0.84; 'received:hu': 0.84 |
| X-Spam-Score | -1.346 |
| X-Spam-Level | |
| X-Spam-Status | No, score=-1.346 tagged_above=-20 required=4 tests=[AWL=0.023, BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, RDNS_NONE=0.1] |
| Date | Thu, 28 Apr 2011 08:24:41 +0200 |
| From | Ervin Hegedüs <airween@gmail.com> |
| To | python-list@python.org |
| Subject | Re: ElementTree XML parsing problem |
| References | <ip9n72$ol6$1@dont-email.me> <20110427193335.GA2675@arxnet.hu> <ipavk8$l8r$1@dough.gmane.org> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Disposition | inline |
| In-Reply-To | <ipavk8$l8r$1@dough.gmane.org> |
| User-Agent | Mutt/1.5.20 (2009-06-14) |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.928.1303971658.9059.python-list@python.org> (permalink) |
| Lines | 28 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1303971658 news.xs4all.nl 81483 [::ffff:82.94.164.166]:38117 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:4207 |
Show key headers only | View raw
hello, On Thu, Apr 28, 2011 at 07:57:28AM +0200, Stefan Behnel wrote: > >So, I started change the codepage mark of xml: > > > ><?xml version="1.0" encoding="UTF-8" ?> - same result > ><?xml version="1.0" encoding="ISO-8859-2" ?> - same result > ><?xml version="1.0" encoding="ISO-8859-1" ?> - same result > > You probably changed this in an editor that supports XML and thus > saves the file in the declared encoding. no. I've saved the XML as UTF8, and didn't change the _file_ encoding - just modified the XML header, nothing else... (I'm using Geany - it doesn't realize what user wrote in file, just can save file as another encodign, when user choose one) > Switching between the three > by simply changing the first line (the XML declaration) and not > adapting the encoding of the document itself would otherwise not > yield the same result for the document given above. yes, that's what I wrote exactly. a.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar
ElementTree XML parsing problem Mike <Mike@invalid.invalid> - 2011-04-27 11:26 -0700
Re: ElementTree XML parsing problem Benjamin Kaplan <benjamin.kaplan@case.edu> - 2011-04-27 14:41 -0400
Re: ElementTree XML parsing problem Neil Cerutti <neilc@norwich.edu> - 2011-04-27 19:24 +0000
Re: ElementTree XML parsing problem Mike <Mike@invalid.invalid> - 2011-04-27 13:43 -0700
Re: ElementTree XML parsing problem Philip Semanchuk <philip@semanchuk.com> - 2011-04-27 15:32 -0400
Re: ElementTree XML parsing problem Hegedüs Ervin <airween@gmail.com> - 2011-04-27 21:33 +0200
Re: ElementTree XML parsing problem Mike <Mike@invalid.invalid> - 2011-04-27 13:32 -0700
Re: ElementTree XML parsing problem Stefan Behnel <stefan_ml@behnel.de> - 2011-04-28 07:57 +0200
Re: ElementTree XML parsing problem Ervin Hegedüs <airween@gmail.com> - 2011-04-28 08:24 +0200
csiph-web