(another proposal for M:F:XML for unimarc)

2006-10-11 Thread Paul POULAIN
in UNIMARC, the field 100 contains the encoding (position 26/27) Actually, are handled : 01 : iso646 (ascii 7 bits) 50 : unicode Many libraries although uses 03, as extended latin1. Could we add, at line 492 (sub _unimarc_encoding { ) > } elsif ($enc eq '01') { > return 'ISO-8859-1'; To deal

small (although important for UNIMARC guys) bug in MARC::File::XML ?

2006-10-11 Thread Paul POULAIN
Hello perl4lib, I have some problems decoding unimarc XML datas. > $record = MARC::Record::new_from_xml( $marcxml,"utf8","unimarc"); gives me a wrong encoding result, while > $record = MARC::Record::new_from_xml( $marcxml,"utf8"); gives me a correct one. As I have unimarc records, i'm not ha