Re: [xml] OS/390 compatibility (EBCDIC)
- From: Roumen Petrov <bugtrack roumenpetrov info>
- To: Alon Bar-Lev <alon barlev gmail com>
- Cc: xml gnome org
- Subject: Re: [xml] OS/390 compatibility (EBCDIC)
- Date: Wed, 12 May 2010 00:05:18 +0300
Hi, Alon,
Alon Bar-Lev wrote:
Hello,
Trying to compile on OS/390, it should work, right?
I am getting:
---
$ ../../dep/bin/xmllint --version
../../dep/bin/xmllint: using libxml version 20707
compiled with: Iconv ISO8859X
So far so good but what about iconv ?
Is it from gnu libc or external (standalone) from libiconv. The second
didn't support EBCDIC{xxx}.
$ ../../dep/bin/xmllint sample.xml
sample.xml:1: parser error : encoding not supported EBCDIC
<?xml version="1.0" encoding="ebcdic"?>
So if libiconv support EBCDIC then no idea.
Another point is that libxml contain some macros similar to IS_SPACE
that check for ASCII codes and this may break something in library. o
idea how to find all of them. May be with command like "grep -i
space.*32" or "grep -i space.*20" and to look near to lines found for
other macros.
^
sample.xml:1: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xA7 0x94 0x93 0x40
<?xml version="1.0" encoding="ebcdic"?>
---
Can anyone help?
I could not help more.
Thanks,
Alon.
Roumen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]