Re: Codepage problems with generate XML
- From: "Mario" <gta666@xxxxxxxxx>
- Date: 30 Jan 2006 02:39:51 -0800
Tom:
Please kindly let me know if in library XML4PR400 you have a parser
available.
We need to convert a XML file to a DB400 (with DDS) file.
Is there any utility/ code to do this as part of the system ?
Best regards
Mario
Tom wrote:
> matt.haas@xxxxxxxxxxxxxxxxxxx wrote:
> > Tom,
> >
> > CCSID 819 is US-ASCII. If you're writing UTF-8, you need to create the
> > file with CCSID 1208 so that the data can be stored in it properly.
> >
> > Matt
> >
>
> Thanks Matt,
>
> We have created a file with 1208. if you look via OpsNav the CCSID is
> 1208 so that seems ok.
>
> Problem is that we still are not able to read and process that 1208 file
> whereas with cp 819 that is no problem.
>
> What I have seen sofar is using the stat() api :
>
> When codepage is 819 then both st_codepage and st_ccsid report 819
> When codepage is 1208 then st_ccsid reports 1208 while st_codepage
> reports 0. O means there is more than one code page associated with the
> st_ccsid (info IBM infocenter)
>
> This more than one codepage bit surprises me, i didn't know that that is
> possible with streamfiles. Is there something to be done about this?
>
> Additional problem is is that the file is created via the
> QxmlOpenNewOutputStream api about which I do not have any documentation.
>
> When we after creation open the files we use the standard open() statement.
>
> Is it true that since it is cp 1208 we should set the O_CCSID flag
> instead of the O_CODEPAGE flag? I have seen a similar thread that said
> that this was necessary for full unicode cp 13488.
>
> Thanks
>
> Tom
.
- References:
- Codepage problems with generate XML
- From: Tom
- Re: Codepage problems with generate XML
- From: matt . haas
- Re: Codepage problems with generate XML
- From: Tom
- Codepage problems with generate XML
- Prev by Date: Re: strsql output
- Next by Date: Re: non-telnet port for Client Access
- Previous by thread: Re: Codepage problems with generate XML
- Next by thread: IBM 3490E F11 autoloader question
- Index(es):
Relevant Pages
|