|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Reading Umlauts from a queue |
« View previous topic :: View next topic » |
Author |
Message
|
John_Harris |
Posted: Thu Oct 14, 2004 7:16 am Post subject: Reading Umlauts from a queue |
|
|
Newbie
Joined: 10 Feb 2004 Posts: 2 Location: QVC, INC West Chester, PA
|
I have a java app reading a text file and creating messages in an MQ Queue. The data looks like this in the txt file and when I display it from within the java app:
CUSTOMER Create 0000001WEMPEN KERSTIN 02LEHMHÖRN 11 122626340 ZETEL 000000000000 044527788 051141029898 050269CRA01CABLE 7788
When I look at the message via rfhutil it looks like this (this is the char and hex display):
CUSTOMER 43555354 4F4D4552 20202020 20202020
Create 000000 43726561 74652020 20203030 30303030
1WEMPEN 3157454D 50454E20 20202020 20202020
KERSTIN 204B4552 5354494E 20202020 20202020
02LEHMH .RN 11 2030324C 45484D48 D6524E20 31312020
20202020 20202020 20202020 20202020
20202020 20202020 20202020 20202020
1 20202020 20202020 20202020 20202031
22626340 ZET 32323632 36333430 20202020 205A4554
EL 454C2020 20202020 20202020 20202020
00000 20202020 20202020 20202030 30303030
0000000 044 30303030 30303020 20202020 20303434
527788 05114 35323737 38382020 20202030 35313134
1029898 050269C 31303239 38393820 20303530 32363943
RA01CABL E 7788 52413031 4341424C 45202020 37373838
When I look at the message via MQ Series Explorer it looks like this:
43 55 53 54 4F 4D 45 52 CUSTOMER
20 20 20 20 20 20 20 20
43 72 65 61 74 65 20 20 Create
20 20 30 30 30 30 30 30 000000
31 57 45 4D 50 45 4E 20 1WEMPEN
20 20 20 20 20 20 20 20
20 4B 45 52 53 54 49 4E KERSTIN
20 20 20 20 20 20 20 20
20 30 32 4C 45 48 4D 48 02LEHMH
D6 52 4E 20 31 31 20 20 ÖRN 11
20 20 20 20 20 20 20 20
20 20 20 20 20 20 20 20
20 20 20 20 20 20 20 20
20 20 20 20 20 20 20 20
20 20 20 20 20 20 20 20
20 20 20 20 20 20 20 31 1
32 32 36 32 36 33 34 30 22626340
20 20 20 20 20 5A 45 54 ZET
45 4C 20 20 20 20 20 20 EL
20 20 20 20 20 20 20 20
20 20 20 20 20 20 20 20
20 20 20 30 30 30 30 30 00000
30 30 30 30 30 30 30 20 0000000
20 20 20 20 20 30 34 34 044
35 32 37 37 38 38 20 20 527788
20 20 20 30 35 31 31 34 05114
31 30 32 39 38 39 38 20 1029898
20 30 35 30 32 36 39 43 050269C
52 41 30 31 43 41 42 4C RA01CABL
45 20 20 20 37 37 38 38 E 7788
When I read the data off the queue, I am loosing the umlauted character.
I am using the WebSphere Interchange Sever MQ Series Adapter to get the data off the queue. The CCSID on the MQ adapter is set to 819.
Any help would be appreciated. |
|
Back to top |
|
 |
Nigelg |
Posted: Thu Oct 14, 2004 7:27 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
What is the CCSID of the message? The dump does not show the MD.
Also, I see that the O umlaut is character xD6. Is this character actually O umlaut in 819? Does 819 contain an O umlaut? |
|
Back to top |
|
 |
John_Harris |
Posted: Thu Oct 14, 2004 7:39 am Post subject: |
|
|
Newbie
Joined: 10 Feb 2004 Posts: 2 Location: QVC, INC West Chester, PA
|
D6 is the O umlaut in 819. The CCSID is 819 and the Encoding is 273. |
|
Back to top |
|
 |
sebastian |
Posted: Thu Oct 14, 2004 10:34 am Post subject: |
|
|
 Centurion
Joined: 12 Nov 2003 Posts: 110 Location: Philadelphia
|
John:
You may want to check out this link
http://www.multi-platforms.com/Tips/DiphthongsUmlauts.htm
I found this list of CCSID's - maybe 850 is what you are looking for.
CCSID 037 - EBCDIC "US English" code page on OS/400 and VSE/ESA.
CCSID 437 - ASCII code page on DOS and Windows DOS Console.
CCSID 500 - EBCDIC "International" code page on MVS.
CCSID 850 - ASCII code page on UNIX systems and PCs in Europe.
CCSID 819 - ASCII (Latin-1) code page (ISO 8859-1 standard Western European).
CCSID 1252 - ASCII code page on Windows 95 NT and up.
-Sebastian _________________ sebastian signature |
|
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
|
|
|
|