On Mon, 3 Nov 2014 11:47:11 -0600, Paul Gilmartin wrote:

>On Mon, 3 Nov 2014 12:16:49 -0500, Denis Gäbler wrote:
>>http://www-01.ibm.com/support/knowledgecenter/SSB27U_6.2.0/com.ibm.zos.r12.cbclx01/zos_pragma_convert.htm
>    
> http://pic.dhe.ibm.com/infocenter/zos/v2r1/topic/com.ibm.zos.v2r1.cbclx01/zos_pragma_convert.htm
>
>    The following are not converted:
>        A string or character constant specified in hexadecimal or octal 
> escape sequence format
>        (because it represents the value of the desired character on output).
> 
There's no good solution to this.  If I have ASCII source code containing:
"Dr.\240Who" (ISO8859-1) or "Dr.\xC2\xA0Who" (UTF-8), I really want
the NBSP  converted to \x41 for an IBM-1047 target, and vice-versa.
It would be better if the originator had used a savvy editor such as
vim and placed an actual NBSP rather than an escape sequence in the
source.

I hate EBCDIC!  WOMBAT!

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to