#559: BibUpload: Cannot bibupload file containing UTF-8 chars
------------------------+------------------
Reporter: grfavre | Owner:
Type: defect | Status: new
Priority: critical | Milestone: v1.0
Component: BibUpload | Version:
Resolution: | Keywords:
------------------------+------------------
Comment (by jcaffaro):
grfavre wrote:
> No error traceback after running your excerpt in python shell.
ok, but what does it print:
{{{
[([('a', 'Oxymoron, un tr\xc3\xa9sor de fiches de...
}}}
or:
{{{
[([('a', u'Oxymoron, un tr\xc3\xa9sor de fiches de...
}}}
What if you do:
{{{
my_records[1][0]['245'][0][0][0][1] + 'foo'
}}}
You might also try:
{{{
$ /opt/invenio/bin/xmlmarclint buggy.xml
$ xmllint buggy.xml
}}}
Depending on the above results we might eliminate the possibility of an
encoding problem in the DB (I don't think it is the case). Note that I
could run bibupload -r buggy.xml without problem.
--
Ticket URL: <http://invenio-software.org/ticket/559#comment:4>
Invenio <http://invenio-software.org>