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

Re: use special caracther with http_url_get_raw



Well, the fact that he's getting a ? is very strange, it seems to imply that there isn't a character that matches in the result -- which is very weird if he's going to 1208, that should have just aout any character.

the other weird thing is that the result should be URL encoded, so if he's getting a result like 'test t?' that's extremely strange, it should be 'test%20t%xx%xx' (where xx are whatever the proper hex code is... I don't know off the top of my head.)

So this is all very strange...  unless he's also decoding it somewhere?

So, I'm not sure it's related to that other message...


On 3/11/2014 2:21 PM, Mike Krebs wrote:
First, I'd suggest not running in CCSID 65535. I am a little surprised anyone is still doing that. I think that is the root of the problem. 65535 says "I am hex and don't convert me".

What else have you tried? If you change your job to 280 does it work?

Read this reply from Scott to another similar issue. I think it is relevant to your issue.
http://www.scottklement.com/archives/ftpapi/200911/msg00070.html


-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of gio.cot
Sent: Monday, March 10, 2014 5:03 PM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: use special caracther with http_url_get_raw

Hi

i would use http_url_get_raw procedure to call web service to send sms;  i need to insert special caratcher in the sms's text like  "à" or "€".  Example if i write a text with the string ""Test tà",  in the sms i  receive "Test t?"

my job is running in CCSID 65535 and my source file has CCSID 280.

i tryed toi put in my pgm as first line callp     HTTP_SetCCSIDs(1208:280) but the problem is not solved

can you help me ?

Thanks in advance

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


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