|
Hi all,
I have ? probably another ? code-page issue. I create an XML-file on the
IFS with following syntax:
fd = open(IFSFolder:
O_CREAT+O_WRONLY+O_CODEPAGE:
S_IWUSR+S_IRUSR+S_IRGRP+S_IROTH:
918);
callp close(fd);
fd = open(IFSFolder:O_WRONLY+O_TEXTDATA);
The file is created (like it should ?) on the IFS with following
attributes:
Now, I cannot open the file in Word (because of ?invalid content?). Also,
when opening in XML-SPY I see that accents (like é) are wrongly converted
(replaced by weird characters, wich causes the XML to be bad-formatted):
Help would be much, much, much appreciated ? .
Kr,
Dirk.
Dirk Mariën
Toyota Motor Europe
60 Avenue du Bourget,
1140 Brussels, Belgium
Ph: +32 (0) 2 745 2581
www.toyota-europe.com
This e-mail may contain confidential information.
If you are not an addressee or otherwise authorised to receive this
message, you should not use, copy, disclose or take any action based on
this e-mail.
If you have received this e-mail in error, please inform the sender
promptly and delete this message and any attachments immediately.
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.