Bi-Directional conversions with z/OS XL C/C++

R

Roded Bahat

Hello,
I'm trying to use the <layout.h> library to convert bi-directional
language strings from visual ordering to logical (or implicit)
ordering.
Unfortunately, the example found in the z/OS XL C/C++ Programming
Guide (http://publib.boulder.ibm.com/infocenter/zos/v1r10/index.jsp?
topic=/com.ibm.zos.r10.cbcpx01/cbcpg190498.htm) fails to work
correctly as it is or after I've tried to change it to fit my needs.
After the m_transform_layout function is called, the output buffer is
filled with whatever is in the input buffer with no change to the
string no matter what option combinations I used.
After many searches, it seems like examples of how to use the
<layout.h> library are scarce.
Has anyone successfully managed to get the library to work and change
a string?
I'd appreciate any help at all.
Thanks,
Roded
 
L

luserXtrog

Hello,
I'm trying to use the <layout.h> library to convert bi-directional
language strings from visual ordering to logical (or implicit)
ordering.
Unfortunately, the example found in the z/OS XL C/C++ Programming
Guide (http://publib.boulder.ibm.com/infocenter/zos/v1r10/index.jsp?
topic=/com.ibm.zos.r10.cbcpx01/cbcpg190498.htm) fails to work
correctly as it is or after I've tried to change it to fit my needs.
After the m_transform_layout function is called, the output buffer is
filled with whatever is in the input buffer with no change to the
string no matter what option combinations I used.
After many searches, it seems like examples of how to use the
<layout.h> library are scarce.
Has anyone successfully managed to get the library to work and change
a string?
I'd appreciate any help at all.
Thanks,
Roded

Did you see this part?

This topic describes the characteristics of bidirectional languages,
and provides an overview of the layout functions for bidirectional
languages. For more information on the layout functions see z/OS XL C/C
++ Run-Time Library Reference, and X/Open Portable Layout Services:
Context-dependent and Directional Text.

Did you try looking for those?

Your situation appears to concern a specific library from a
specific vendor based on a specific standard; but this doesn't
appear to have anything to do with C per se. I'd recommend you
track down the X/Open document.

fwiw hth
 
R

Roded

Did you see this part?

This topic describes the characteristics of bidirectional languages,
and provides an overview of the layout functions for bidirectional
languages. For more information on the layout functions see z/OS XL C/C
++ Run-Time Library Reference, and X/Open Portable Layout Services:
Context-dependent and Directional Text.

Did you try looking for those?

Your situation appears to concern a specific library from a
specific vendor based on a specific standard; but this doesn't
appear to have anything to do with C per se. I'd recommend you
track down the X/Open document.

fwiw hth

Will try.
Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,178
Messages
2,570,955
Members
47,509
Latest member
Jack116

Latest Threads

Top