This is the way that we do it -
#pragma convert("ISO8859-1")
const char* ASCII_LITERAL = "a literal string in ISO8859-1";
#pragma convert(pop)
On Mon, Dec 21, 2020 at 5:05 PM Paul Gilmartin <
[email protected]> wrote:
> In any z/OS 2.4 doc I can search, I find only a single reference
> to __STRING_CODESET__, in XL C/C++ User’s Guide:
>
> When NOASCII is in effect, the compiler uses the IBM-1047 code page
> for character constants and string literals, unless the code page is
> affected by other related options; for example, the CONVLIT, LOCALE,
> or DEF(__STRING_CODESET__) compiler options.
>
> Where is __STRING_CODESET__ defined, not just mentioned in passing?
> Can it be set to 1208?
>
> -- gil
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN