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

Re: use special caracther with http_url_get_raw



   Hi Scott,
   What about translation tables? Maybe hi uses translation tables instead
   of iconv() for character translation. A debug log would help a lot.
   Thomas.
   ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx schrieb am 11.03.2014 21:34:54:
   > Von: sk@xxxxxxxxxxxxxxxx
   > An: ftpapi@xxxxxxxxxxxxxxxxxxxxxx,
   > Datum: 11.03.2014 22:11
   > Betreff: Re: use special caracther with http_url_get_raw
   > Gesendet von: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   >
   > 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.
   > > [1]http://www.scottklement.com/archives/ftpapi/200911/msg00070.html
   > >
   > >
   > > -----Original Message-----
   > > From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [[2]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 "EUR".  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:
   > > [3]http://www.scottklement.com/mailman/listinfo/ftpapi
   > >
   -----------------------------------------------------------------------
   > >
   >
   >
   -----------------------------------------------------------------------
   > This is the FTPAPI mailing list.  To unsubscribe, please go to:
   > [4]http://www.scottklement.com/mailman/listinfo/ftpapi
   >
   -----------------------------------------------------------------------

   --
   IMPORTANT NOTICE:
   This email is confidential, may be legally privileged, and is for the
   intended recipient only. Access, disclosure, copying, distribution, or
   reliance on any of it by anyone else is prohibited and may be a
   criminal
   offence. Please delete if obtained in error and email confirmation to
   the sender.

References

   1. http://www.scottklement.com/archives/ftpapi/200911/msg00070.html
   2. mailto:ftpapi-
   3. http://www.scottklement.com/mailman/listinfo/ftpapi
   4. 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
-----------------------------------------------------------------------