[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Non english character like Ñ is send as '?' to Webservice
Hi Scott,
I have inserted the below line at the start of my
code, but it still gives question mark '?' instead of special
characters. Also a lot of blank space is there in the end of the xml
string. Is there anything else I need to do.
Thanks
Unni
Scott Klement <sk@xxxxxxxxxxxxxxxx> wrote:
At the start of your code, insert a line that looks like this:
callp HTTP_set_ccsids(1208: 0)
This tells HTTPAPI to convert your EBCDIC document in your RPG
variable
to UTF-8 (Unicode). UTF-8 shouldn't have any trouble with your
characters. Plus, you've told the web service that your document
will
be encoded with UTF-8 -- so it'd make sense to actually encode it
that way!!
Unnikrishnan Rajasekharan wrote:
> Hi all,
>
> I am sending some Non-english charcaters like Ñ and ° as
> shown below from AS/400 to WEBSERVICES with HHTPAPI
>
> Address2>CALLE 13 AV CENTENARIO N° 84-65 ATN: FANY PEÑA
>
> The non-english charcters were replaced as shown below
>
> Request document:
>
>
xmlns:Vastera="[1]http://ndcXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX
> XXXXXXXXXXXXXX[2]/envelope/"
> xmlns:xs="[3]http://www.w3..org/2001/XMLSchema">
> stomerValidation_RequestInfo>1036313774-0004-001>
>PTNR_SHIP_TOPTNR_ULT_CONSIGNE
> E100ACTIVE> s>KONEKTEL> merName>ADD1 CHGCALLE 13 AV CENTENARIO
> N? 84-65 ATN: FANY PE?
>
>
>
> How do I send the non-english charcters as it is with HTTPAPI?
>
> Any ideas on this are most welcome..
>
>
>
> Thanks in advance,
>
> Unni
>
> Do not follow Where the Path May LEAD,
> Go instead where there is No Path and LEAVE A TRAIL.........
> UNNIKRISHNAN.R [08.gif]
> _________________________________________________________________
>
> It's here! Your new message!
> Get [4]new email alerts with the free [5]Yahoo! Toolbar.
>
> References
>
> 1.
http://ndcXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/
> 2.
http://il06exf60.ds.mot.com/exchweb/bin/redir.asp?URL=http://schema
s.xmlsoap.org/soap/envelope/
> 3.
http://il06exf60.ds.mot.com/exchweb/bin/redir.asp?URL=http://www.w3
..org/2001/XMLSchema%22%3E%3Csoap:Body%3E%3CVastera:CustomerValidat
ion_RequestInfo%3E%3CPartnerID%3E1036313774-0004-001%3C/PartnerID%3
E%3CPartnerType%3EPTNR_SHIP_TO%3C/PartnerType%3E%3CPartnerType%3EPT
NR_ULT_CONSIGNEE%3C/PartnerType%3E%3COperatingUnit%3E100%3C/Operati
ngUnit%3E%3CStatus%3EACTIVE%3C/Status%3E%3CCustomerSeqNumber%3E%3C/
CustomerSeqNumber%3E%3CCustomerName%3EKONEKTEL%3C/CustomerName%3E%3
CAddress1%3EADD1
> 4.
http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/too
lbar/features/mail/
> 5.
http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/too
lbar/features/mail/
>
>
>
-------------------------------------------------------------------
-----
>
>
-------------------------------------------------------------------
----
> 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
-------------------------------------------------------------------
----
Do not follow Where the Path May LEAD,
Go instead where there is No Path and LEAVE A TRAIL.........
UNNIKRISHNAN.R [08.gif]
_________________________________________________________________
Don't be flakey. [1]Get Yahoo! Mail for Mobile and
[2]always stay connected to friends.
References
1. http://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/mail
2. http://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/mail
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------