View previous topic :: View next topic |
Author |
Message |
misi01 Advanced
Joined: 02 Dec 2002 Posts: 629 Topics: 176 Location: Stockholm, Sweden
|
Posted: Tue May 18, 2021 12:48 am Post subject: Dummy character set |
|
|
I appreciate that this is a bit of a "non" problem, but I thought I'd put it out there.
We need to do a WEB SEND and include the parameters
Code: |
CLICONVERT
CHARACTERSET ( W-CHARSET )
|
At the same time, we need to use the same sort of call (in the same section/program) without these parameters (for example, to send a PDF that shouldn't be converted at all)
We tried with a blank value in W-CHARSET, but that wasn't popular (return codes 16/45 if I remember).
Is there any form of characterset value that performs no conversion but is a valid value? _________________ Michael |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Tue May 18, 2021 10:54 pm Post subject: |
|
|
misi01,
Two options.
1. For the case of No conversion pass the same charset value that it was created. For example if you created the PDF with codeset 278 (FIN/SWEDEN EBCDIC) then pass the same as W-CHARSET. So even if it converts then it would use the same conversion table.
2. Code 2 different paragraphs one with CLICONVERT and other with NOCLICONVERT and invoke the paragraph depending on the requirement. _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
misi01 Advanced
Joined: 02 Dec 2002 Posts: 629 Topics: 176 Location: Stockholm, Sweden
|
Posted: Wed May 19, 2021 5:57 am Post subject: |
|
|
Thanks.
We'll almost certainly go down the second road.
Just thought it would be worth asking. _________________ Michael |
|
Back to top |
|
|
|
|