|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
surrogate pairs in UTF-16 data |
« View previous topic :: View next topic » |
Author |
Message
|
beth_carlin |
Posted: Sun Sep 13, 2015 7:49 pm Post subject: surrogate pairs in UTF-16 data |
|
|
Acolyte
Joined: 08 Jun 2004 Posts: 64
|
Hi
One of the app team in other dept has a .net application that set ccsid
xmlMsg.characterSet = 1200 before put and the xml data to be put is encoded as UTF-16.
The qmgr the data to be put to has ccsid=1208 and the get application will not use any-convert option and will get the data from the same qmgr that was put to.
IBM info support
http://www-01.ibm.com/support/knowledgecenter/SSFKSJ_7.5.0/com.ibm.mq.ref.dev.doc/q104590_.htm
says WebSphere MQ does not support surrogate pairs.
My question:
if the xml data contain surrogate pairs, will the get application
see any problem with data ?
if yes
Could you suggest how to exclude surrogate pairs in their data? |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Sep 14, 2015 5:11 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
MQ does not alter the contents of the message body unless you tell it to convert the data, either at the GET or at your channels. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
tczielke |
Posted: Mon Sep 14, 2015 7:16 am Post subject: |
|
|
Guardian
Joined: 08 Jul 2010 Posts: 941 Location: Illinois, USA
|
Based on what you described, the application will get the message unconverted and still in 1200. I doubt if anyone on this site can really answer if your application can handle surrogate pairs.
If your application was to convert the data from 1200 to 1208, it looks like MQ uses CESU-8 to convert surrogate pairs from 1200 to 1208-> https://en.wikipedia.org/wiki/CESU-8
According to that doc, CESU-8 is not an official part of the Unicode standard, so that is interesting. _________________ Working with MQ since 2010. |
|
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
|
|
|
|