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 » WebSphere Message Broker (ACE) Support » Unwanted UTF-8 encoding characters in MQSI message body.

Post new topic  Reply to topic
 Unwanted UTF-8 encoding characters in MQSI message body. « View previous topic :: View next topic » 
Author Message
charlieb
PostPosted: Thu Jul 10, 2003 7:51 am    Post subject: Unwanted UTF-8 encoding characters in MQSI message body. Reply with quote

Newbie

Joined: 10 Jul 2003
Posts: 2
Location: Hemel Hempstead

We have two Sun Platforms running MQSI Brokers.

On one platform we see that when we CAST an input message BLOB to CHARACTER (where the CCSID of the message is 819) we get the ASCII equivalent of the BLOB.

On the other platform we see that our ASCII characters have additional UTF-8 characters inserted where the ASCII character value is above 0x7F (as per the UTF-8 standard).

As example would be and input message:

0xa33530

on one system the CHARACTER cast give us...

"£50"

But on the other system we get...

"£50"

Note we see that the "Local" (region) settings on the sun platforms differ, and infact on the platform where the unwanted UTF-8 encoding is being applied the platform is complaining -> "couldn't set locale correctly".

Note although I do not realy understand these SunOS settings our errant UTF-8 machine has the following.

TZ=GB
CMASK=022
LC_COLLATE=en_GB.ISO8859-15
LC_CTYPE=en_GB.ISO8859-15
LC_MESSAGES=C
LC_NUMERIC=en_GB.ISO8859-15
LC_TIME=en_GB.ISO8859-15

and our other machine.

TZ=GB
CMASK=22
LC_COLLATE=en_US.ISO8859-1
LC_CTYPE=en_US.ISO8859-1
LC_MESSAGE=C
LC_MONETARY=en_US.ISO8859-1
LC_NUMERIC=en_US.ISO8859-1
LC_TIME=en_US.ISO8859-1

Note we are based in the UK (GB).
Back to top
View user's profile Send private message
vmcgloin
PostPosted: Mon Jul 21, 2003 6:46 am    Post subject: Reply with quote

Knight

Joined: 04 Apr 2002
Posts: 560
Location: Scotland

Charlie,
Did you get any solution to this? We have the same problem.
Cheers,
Vicky
Back to top
View user's profile Send private message
charlieb
PostPosted: Mon Jul 21, 2003 7:13 am    Post subject: Reply with quote

Newbie

Joined: 10 Jul 2003
Posts: 2
Location: Hemel Hempstead

The problem occurs on the Production machine (GB local), but does not on the UAT machine (US local). We are not allowed to touch either at the moment, although the Production machine will be retired soon.

We did notice that the Production machne has the environment variable

LANG=en_US

Operations changed this to en_GB and we are no longer getting our "couldn't set locale correctly" message any more. We of course do not know if we have still have the UTF-8 problem.

Hope this helps.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Unwanted UTF-8 encoding characters in MQSI message body.
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.