But, possibly your data isn't Unicode to begin with?
Yup, the data is ASCII data. But there are binary data there. for example, the server use 1 byte 7C to represent the field length is 126 character.
I have no clue why an RPG programmer would use Java for that rather than the operating system's ...
Search found 5 matches
- Thu Aug 15, 2024 2:23 pm
- Forum: Other ScottKlement.com Tools
- Topic: How to get the ASCII data from a server
- Replies: 3
- Views: 40722
- Wed Aug 14, 2024 1:04 pm
- Forum: Other ScottKlement.com Tools
- Topic: How to get the ASCII data from a server
- Replies: 3
- Views: 40722
How to get the ASCII data from a server
Hi all, greeting. Hope you are doing good.
I have a RPGLE program which will call a Java program. The Java program will connect to a TCP server and get the ASCII data back.
I print the data in Java - it is ASCII value. And I use below command to set the value to a variable in RPGLE ...
I have a RPGLE program which will call a Java program. The Java program will connect to a TCP server and get the ASCII data back.
I print the data in Java - it is ASCII value. And I use below command to set the value to a variable in RPGLE ...
- Fri Sep 22, 2023 8:33 am
- Forum: Other ScottKlement.com Tools
- Topic: How to use BASE64 decode library
- Replies: 1
- Views: 40787
How to use BASE64 decode library
Dear all,
I run a Python program in iSeies. The pgm will communicate with a sever to process transaction data. The data has ascii and binary format. After rcv the message (bytes string), I use Python package itoolkit (based on xmlservice) to call a rpgle program as parm.
Because of the binary ...
I run a Python program in iSeies. The pgm will communicate with a sever to process transaction data. The data has ascii and binary format. After rcv the message (bytes string), I use Python package itoolkit (based on xmlservice) to call a rpgle program as parm.
Because of the binary ...
- Tue Sep 12, 2023 3:01 pm
- Forum: HTTPAPI
- Topic: GSKit Codepage issue
- Replies: 3
- Views: 17566
Re: GSKit Codepage issue
The final release for iSeries was V5R4. Perhaps you are running IBM i 7.4?
Yes.
Yes, it doesn't recognize the TLS version and/or cipher suite that the remote site is using. That's why it says "peer not recognized." It could also mean that the remote site is trying to use plain (unencrypted) data ...
Yes.
Yes, it doesn't recognize the TLS version and/or cipher suite that the remote site is using. That's why it says "peer not recognized." It could also mean that the remote site is trying to use plain (unencrypted) data ...
- Fri Jun 23, 2023 1:37 am
- Forum: HTTPAPI
- Topic: GSKit Codepage issue
- Replies: 3
- Views: 17566
GSKit Codepage issue
Dear all,
Greeting. I am working on iSeries V7R4. Recently I need to implement TLS 1.2 over TCP/IP for an Internet URL.
The infra looks like:
iSeries -> SOCKS5 -> Proxy Server -> Internet -> Vendor URL
I implement SOCKS5 protocol with a C program. Then user GSKit to secure the channel ...
Greeting. I am working on iSeries V7R4. Recently I need to implement TLS 1.2 over TCP/IP for an Internet URL.
The infra looks like:
iSeries -> SOCKS5 -> Proxy Server -> Internet -> Vendor URL
I implement SOCKS5 protocol with a C program. Then user GSKit to secure the channel ...