1208 in the sample is actually UTF-8. Limitations are in the manuals. Sent from AOL Mobile Mail
-----Original Message----- From: Paul Gilmartin <0000000433f07816-dmarc-requ...@listserv.ua.edu> To: IBM-MAIN <IBM-MAIN@LISTSERV.UA.EDU> Sent: Mon, Nov 3, 2014 06:24 PM Subject: Re: C Language: non-EBCDIC characters in literal strings. <div id="AOLMsgPart_1_30567942-9b08-41d7-b5bc-fc8502fedf41" style="margin: 0px;font-family: Tahoma, Verdana, Arial, Sans-Serif;font-size: 12px;color: #000;background-color: #fff;"> <pre style="font-size: 9pt;"><tt>(What is it about this message that quoted text is not distinguished with ">"?) On Mon, 3 Nov 2014 12:16:49 -0500, Denis Gäbler wrote: you can do that very easily, with pragma convert in z/OS and z/VM: <a href="http://www-01.ibm.com/support/knowledgecenter/SSB27U_6.2.0/com.ibm.zos.r12.cbclx01/zos_pragma_convert.htm" target="_blank">http://www-01.ibm.com/support/knowledgecenter/SSB27U_6.2.0/com.ibm.zos.r12.cbclx01/zos_pragma_convert.htm</a> The compile will convert it at compile time but it remains readable in the source. That would be useful these days in COBOL or PL/I as well. However a sample will look like this (1208 is a Unicode codepage): #pragma convert(1208) const char[]=ISO8859-1("This is an ISO8850-1 encoded string"); #pragma convert(pop) I have not tried it with #pragma convert("ISO8859-1"), but according to the C compiler docs this should work. Does it work with the very popular UTF-8? -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to <a href="mailto:lists...@listserv.ua.edu">lists...@listserv.ua.edu</a> with the message: INFO IBM-MAIN </tt></pre> <!-- end of AOLMsgPart_1_30567942-9b08-41d7-b5bc-fc8502fedf41 --> </div> ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN