|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
  |
|
CCSID Query |
View previous topic :: View next topic |
Author |
Message
|
kash3338 |
Posted: Thu Mar 03, 2011 6:36 am Post subject: CCSID Query |
|
|
Shaman
Joined: 08 Feb 2009 Posts: 709 Location: Chennai, India
|
Hi,
I have a scenario where in i need to set "?" for all those characters in CCSID 1208 which are not compatible with the CCSID is converted to 819. How do we do this in the flow? |
|
Back to top |
|
 |
paintpot |
Posted: Thu Mar 03, 2011 8:19 am Post subject: |
|
|
Centurion
Joined: 19 Sep 2005 Posts: 112 Location: UK
|
I'm no expert, but if you read:
http://www-01.ibm.com/support/docview.wss?uid=swg27005729&aid=1
it says:
"There are other ways of constructing conversion tables. One way is to map all “unknown” characters that exist in the from CCSID but not in the to CCSID to a substitute character. Such tables do not provide round-trip integrity, i.e. when a piece of data is converted from one CCSID to another andback, the original data may not be recovered. Conversion tables supplied with the operating system are often of this type. If you require specific handling of “unknown” characters, you may wish to perform the data conversion within your application using conversion tables and algorithms that satisfy your requirements."
That implies you can get MQ to auto-corrupt your data, just like you have asked for
p.s. have fun testing  |
|
Back to top |
|
 |
kimbert |
Posted: Thu Mar 03, 2011 8:40 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Better to use UTF-8 ( CCSID 1208 ) instead of 819 in the target application.
Much less pain all round in the long term. |
|
Back to top |
|
 |
paintpot |
Posted: Thu Mar 03, 2011 8:45 am Post subject: |
|
|
Centurion
Joined: 19 Sep 2005 Posts: 112 Location: UK
|
kimbert wrote: |
Better to use UTF-8 ( CCSID 1208 ) instead of 819 in the target application.
Much less pain all round in the long term. |
 |
|
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
|
|
|
|