WARNING: My skills of C and C++ are bad and useless since I dropped using it 
due to other priorities...

John McKown wrote:


>OK, unless I'm really missing something, this is a "no way" proposition. 

Hmmm, seemed so after some RTFM, unless I missed an important page or chapter.


>What I could really use is a _simple_ way to create non-EBCDIC literal 
>strings. So that I could easily do somethng like:

Where do you want those chars to be shown? Printer? Terminal? Web-page? SYSLOG? 
Dataset ready for FTP? etc?


>const char[]=ISO8859-1("This is an ISO8850-1 encoded string");

>Yes, I could just render that in "escape sequences". But that is _ugly_ and 
>not as easily (intuitively) understood. Or I could use iconv() to convert it 
>at run time.

Or use hex representation and then select your 'code-page'?

But then, do you want your C program handling it self or let LE do it?
Or what about using Unicode character conversion services?

>And ideas no how to accomplish my goal - easily?

Delegate it to someone else? Easy! ;-)

Groete / Greetings
Elardus Engelbrecht

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

Reply via email to