Re: [xml] OS/390 compatibility (EBCDIC)

On Wed, May 12, 2010 at 12:05:18AM +0300, Roumen Petrov wrote:
Hi, Alon,
Alon Bar-Lev wrote:

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}.

iconv is not GNU specific, and the OS/390 implementation should
support EBCDIC.

$ ../../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.

If the iconv implementation supports both EBCDIC and UTF-8 it should be 
checked whether it supports direct conversion between them.




       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]