Hi,
We have an article data management process.
In that process we have a PIM system(IBM's Infosphere master Data management) which runs default on UTF-16. PIM puts a message on MQ which runs default on UTF-8. Messages are get from MQ by the IBM i(AS400) which runs on UTF-16 and some GET services use CCSID 37.
Messages are also get from the queues by datapower Xi52 which inserts the message in a MS SQL Server database that database default runs on ISO8859-1 (latin1 ). The messages which it concerns are XML messages and have this in the header:
<?xml version="1.0" encoding="UTF-8"?>Since a while we sometimes see that SQL Server has incomplete messages some characters are replaced with "?" in MS SQL Server.
Our requirment is we must be able to process all messages coming from all European Countrys.
I think the minimal what we need then is UTF-16. So ISO8859-1 does not fit.
Our MQ runs default UTF-8 (1208). UTF-8 is multibyte. 1,2,3 or 4 bytes that depends on the first 2 bits. SQL database systems in general don't support UTF8 also IBM i is having a hard time with UTF-8.
Ok all systems we use(IBM i, MS SQL Server) supports UTF-16. Also MQ
can support UTF-16.
Our MQ default is at this moment UTF-8.
But if a UTF-16 program puts an UTF-8 XML message on MQ can i then get a problem with code conversion ? Assuming that all characters in the message are UTF-16 compatible.
What is the best pracice for MQ if you look at the example above ?
Are we running into problems if we stay on UTF-8 as default and should we change it to UTF-16 ?
Thanks
------------------------------
Bernard Pittens
Integration Engeneer
Sligro Foodgroup B.V.
Veghel
------------------------------