ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Reading Umlauts from a queue

Post new topic  Reply to topic
 Reading Umlauts from a queue « View previous topic :: View next topic » 
Author Message
John_Harris
PostPosted: Thu Oct 14, 2004 7:16 am    Post subject: Reading Umlauts from a queue Reply with quote

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
View user's profile Send private message
Nigelg
PostPosted: Thu Oct 14, 2004 7:27 am    Post subject: Reply with quote

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
View user's profile Send private message
John_Harris
PostPosted: Thu Oct 14, 2004 7:39 am    Post subject: Reply with quote

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
View user's profile Send private message
sebastian
PostPosted: Thu Oct 14, 2004 10:34 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Reading Umlauts from a queue
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.