|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  Unconvertable character - with HTTP Input and JSON | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | Sabina | 
		  
		    
			  
				 Posted: Fri Feb 03, 2017 2:25 am    Post subject: Unconvertable character - with HTTP Input and JSON | 
				     | 
			   
			 
		   | 
		 
		
		   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 | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Fri Feb 03, 2017 5:30 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 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 | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | 
		    
		   | 
		 
	   
	 | 
   
 
  
	     | 
	 | 
	Page 1 of 1 | 
   
 
 
 
  
  	
	  
		
		  
 
  | 
		  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
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |