ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Unconvertable character - with HTTP Input and JSON

Post new topic  Reply to topic
 Unconvertable character - with HTTP Input and JSON « View previous topic :: View next topic » 
Author Message
Sabina
PostPosted: Fri Feb 03, 2017 2:25 am    Post subject: Unconvertable character - with HTTP Input and JSON Reply with quote

Novice

Joined: 27 Sep 2016
Posts: 14

Hello everyone,

I encountered a problem with special characters in JSON which is sent to HTTP input. I get Unconvertable character exception for: ç, ü and ö. Whereas for other special characters, like ə, ğ and ş, it works fine.

Any suggestions?

Here is what I have in input Properties:
Code:

Properties
   MessageSet:CHARACTER:
   MessageType:CHARACTER:
   MessageFormat:CHARACTER:
   Encoding:INTEGER:546
   CodedCharSetId:INTEGER:1208
   Transactional:BOOLEAN:false
   Persistence:BOOLEAN:false
   CreationTime:TIMESTAMP:java.util.GregorianCalendar[time=1486102436803,areFieldsSet=true,areAllFieldsSet=false,
lenient=true,zone=sun.util.calendar.ZoneInfo[id="GMT+04:00",offset=14400000,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],
firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=?,YEAR=2017,
MONTH=1,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=3,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=0,
HOUR=10,HOUR_OF_DAY=10,MINUTE=13,SECOND=56,MILLISECOND=803,ZONE_OFFSET=?,DST_OFFSET=?]
   ExpirationTime:INTEGER:-1
   Priority:INTEGER:0
   ReplyIdentifier:BLOB:[B@b7182d3d
   ReplyProtocol:CHARACTER:SOAP-HTTP
   Topic:UNKNOWN:null
   ContentType:CHARACTER:application/x-www-form-urlencoded
   IdentitySourceType:CHARACTER:
   IdentitySourceToken:CHARACTER:
   IdentitySourcePassword:CHARACTER:
   IdentitySourceIssuedBy:CHARACTER:
   IdentityMappedType:CHARACTER:
   IdentityMappedToken:CHARACTER:
   IdentityMappedPassword:CHARACTER:
   IdentityMappedIssuedBy:CHARACTER:
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Feb 03, 2017 5:30 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

You have to be a little bit more concrete here.
I see in your post that you are dealing with UTF-8.
Now what is the destination CCSID that gives you an unconvertible char and why is that destination CCSID not UTF-8 ?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Unconvertable character - with HTTP Input and JSON
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.