[issue3742] Parsing XML file with Unicode characters causes problem

2009-02-20 Thread Benjamin Peterson

Changes by Benjamin Peterson benja...@python.org:


--
resolution:  - invalid
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3742
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3742] Parsing XML file with Unicode characters causes problem

2009-02-19 Thread Ezio Melotti

Ezio Melotti ezio.melo...@gmail.com added the comment:

The encoding used by the windows terminal (usually cp850) is not able to
encode all the characters, so when you print the text that you extract
from the xml file the terminal is not able able to display some
characters. If you remove the print() it works fine. You can also try to
write the results on a file using utf-8.

This issue can be closed.

--
nosy: +ezio.melotti

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3742
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3742] Parsing XML file with Unicode characters causes problem

2008-08-31 Thread Joshua Logan

New submission from Joshua Logan [EMAIL PROTECTED]:

Python 3.0b2 will not parse the XML file located at
http://rubyquiz.com/SongLibrary.xml.gz

It complains of a UnicodeEncodeError 
'charmap' codec can't encode character '\xc8' in position 45: ch
aracter maps to undefined

I included a sample program, just in case I was doing something wrong
while coding.

Python 3.0b2 (r30b2:65106, Jul 18 2008, 18:44:17) [MSC v.1500 32 bit
(Intel)] on win32
Type help, copyright, credits or license for more information.

--
components: XML
files: read_song_xml.py
messages: 72211
nosy: jaylogan
severity: normal
status: open
title: Parsing XML file with Unicode characters causes problem
type: behavior
versions: Python 3.0
Added file: http://bugs.python.org/file11319/read_song_xml.py

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3742
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com