It's all about the answers!

Ask a question

Specifying code pages for files matching a filter


John Czukkermann (3655) | asked Feb 15 '12, 9:08 p.m.
Is there a way in RAD's RTC settings for a project or a single file to specify the codepage in which files matching that filter will be stored and subsequently retrieved from RTC?

I have shell scripts, rexx execs and other parts that I need to be IBM-1047 when extracted to my z/OS build machine so that they get packaged correctly. Setting the project or RAD default to IBM-1047 is not what I want because most of my code is rightly ISO-8859-1 or UTF-8. It doesn't appear that the content-type general settings for Text artifacts allows me define a filter and associate IBM-1047 with it...it only seems to apply it to Text at a gross level.

When I added *.sh to the Text type, it would be nice if RAD/RTC would allow me to specify the codepage to apply only to that filter.

I realize I can code up some find-exec-iconv Ant exec tasks to accomplish this, but I'd really prefer having that knowledge built right into the source repository rather than in build scripts.

Thank you for any advice,
John Czukkermann

Be the first one to answer this question!


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.