C
Casey Kohrt
I get the following error for the list item below. I know I have to encode
it, but am unsure how or where to write that in. I am new to python and
have had good luck thus far. Any help is greatly apprecieated. I am not on
the list, so a response to me is appreciated.
UnicodeError: ASCII encoding error: ordinal not in range(128)
eainfo = doc.createElement("eainfo")
metadata.appendChild(eainfo)
overview = doc.createElement("overview")
eainfo.appendChild(overview)
eaover = doc.createElement("eaover")
text = doc.createTextNode(str(list[83]))
eaover.appendChild(text)
overview.appendChild(eaover)
Casey Kohrt
GIS Librarian
Iowa Geological Survey
109 Trowbridge Hall
Iowa City, Iowa 52242
319-335-1353
(e-mail address removed)
it, but am unsure how or where to write that in. I am new to python and
have had good luck thus far. Any help is greatly apprecieated. I am not on
the list, so a response to me is appreciated.
UnicodeError: ASCII encoding error: ordinal not in range(128)
eainfo = doc.createElement("eainfo")
metadata.appendChild(eainfo)
overview = doc.createElement("overview")
eainfo.appendChild(overview)
eaover = doc.createElement("eaover")
text = doc.createTextNode(str(list[83]))
eaover.appendChild(text)
overview.appendChild(eaover)
Casey Kohrt
GIS Librarian
Iowa Geological Survey
109 Trowbridge Hall
Iowa City, Iowa 52242
319-335-1353
(e-mail address removed)