Re: Codepage problems with generate XML



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

.



Relevant Pages

  • Re: lazy eye / tocopherol / vitamin E supplementation
    ... but you seem to have missed the latest reports on too much E tom ... > since cataracts have been shown to be associated to oxidative stress .. ... > irreversible blindness, known as `lazy eye. ...
    (sci.med.nutrition)
  • Re: Access 97 Runtime reports get blank print preview in XP Home
    ... Thanks very much Tom for your advice. ... Windows NT4, 2000 and XP pro all seems okay, except it was not tested ... I re-checked the Visible property in reports and they are all ... I suspect that the DLL for Access 97 reports overwritten by ...
    (microsoft.public.access.reports)
  • RE: SCCM 2007 Database table structure
    ... Yes, Tom, that was it! ... or customed the mof to pull in the custom data. ... Creating Custom Reports By Using Configuration Manager 2007 SQL Views ... even just additional columns in existing tables/views when you do ...
    (microsoft.public.sms.misc)
  • RE: Long print ranges in VBA
    ... I could not find the limit number in the Excel Specifications and ... "Tom Joseph" wrote: ... to work for 23-24 reports, but it appears I dont have the VBA ... continuation/wrapping code right or it is a VBA limitataion. ...
    (microsoft.public.excel.programming)
  • Re: transfer programs in hp48gx to hp50s
    ... and wanting to drive out or kill off anyone of another flag. ... However, in the calculator, when editable UserRPL programs ... Tom Lehrer's decimal/octal calculator math review ...
    (comp.sys.hp48)