× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Dirk

You shouldn't use O_CODEPAGE. Try using O_CCSID instead.

Best regards

Jan

Am 21.01.2014 11:09, schrieb Dirk.Marien@xxxxxxxxxxxxxxxxx:
Seems that some of the info is missing in previous mail ... I'll give it
another try :

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:
819);
callp close(fd);
fd = open(IFSFolder:O_WRONLY+O_TEXTDATA);
The file is created on IFS with following attributes:
Display Attributes
Object . . . . . . : /Tryout/IMPORT7/GI021103711364397.xml
Type . . . . . . . . . . . . . . . . . : STMF
Owner . . . . . . . . . . . . . . . . : DMA2852
System object is on . . . . . . . . . : Local
Auxiliary storage pool . . . . . . . . : 1
Object overflowed . . . . . . . . . : No
Coded character set ID . . . . . . . . : 819
Hidden file . . . . . . . . . . . . . : No
PC system file . . . . . . . . . . . . : No
Read only . . . . . . . . . . . . . . : No
Need to archive (PC) . . . . . . . . . : Yes
Need to archive (System) . . . . . . . : Yes

Now, I cannot open the file in Word (because of 'invalid content'). Also,
when opening in XML-SPY I see that accents (lilke é) are wrongly converted
(replaced by weird characters, wich causes the XML to be bad-formatted):
<goodsDescription>autres, y compris les roulements combin?
/goodsDescription>
<goodsDescriptionLanguage>NL</goodsDescriptionLanguage>

Help would be much, much, much appreciated ... .
Kr,
Dirk.



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.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.