[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using http_xlate and special characters



Hello @ll
it works fine - great!!! thanks for previous help.

you guess - i have another problem: i translate my response

c                   eval      rc = http_url_post_raw(
c                              'https://' + %trim(W#ip_adresse) + ':'  +
c                                  %trim(W#ip_port)
c                             : %addr(W#request)
c                             : %len(%trim(W#request))
c                             : 1
c                             : %paddr('INCOMING'))
C* convert the data we just received to EBCDIC
c                   if        retlen > 1
c                   callp     http_xlate(retlen: retdata: TO_EBCDIC)
c                   endif

and i get a character '%2B' instead of the expected '+' (from URL Coding
with ISO-8859-1-character set)

perhaps its pending on CCSID and/or CHRID, but there must be a parameter to
customize different character sets(?)

our system values are:
Systemwert . . . . . . :   QCCSID
ID des codierten
  Zeichensatzes (CCSID):   65535      1-65535

Systemwert . . . . . . :   QCHRID
Zeichensatz-ID . . . . :   697
Code Page  . . . . . . :   273

thx
wolfgang


-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------