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 » Thai Char Display Problem

Post new topic  Reply to topic
 Thai Char Display Problem « View previous topic :: View next topic » 
Author Message
j0ann3a
PostPosted: Thu Jul 10, 2014 7:38 pm    Post subject: Thai Char Display Problem Reply with quote

Newbie

Joined: 10 Jul 2014
Posts: 2

Hi Guys..

I'm trying to display thai characters in a web base java platform but unsuccessful as its showing as [] [] [] [] [] on the screen.

Can anybody help me?

OS is Linux Red Hat

The encoding setting is windows-874

Below is the setup we tried to used to get the response from a Mainframe platform

SET OutputRoot.MQRFH2.Encoding = 838;
SET OutputRoot.MQRFH2.CodedCharSetId = 874;

[/img]
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jul 11, 2014 4:54 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

you are talking about a web based java platform. Why not use UTF-8 ?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Fri Jul 11, 2014 5:24 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You need to determine whether the characters are correct - but not displaying properly - or whether they are incorrect.

If they are incorrect, you need to determine exactly where they are wrong. It could even be that they're wrong inside the mainframe before you ever get them!

You need to DETERMINE what the CCSIDs of the message data is, in all places. You should not just *GUESS* or *decide* that one is the right one to use.

Then you need to look at the byte values of the characters as they move from one system to another.

This is a *process*. There's no *magic answer*.
Back to top
View user's profile Send private message
j0ann3a
PostPosted: Thu Jul 17, 2014 2:09 am    Post subject: Reply with quote

Newbie

Joined: 10 Jul 2014
Posts: 2

Hi Guys

sorry i was not clear earlier.

there is two systems connecting - one is Mainframe - Z/OS and the other is midrange - Linux

the display of the characters in the mainframe is fine.
we are able to accept midrange - to mainframe using Thai Characters fine.

we used below setting for midrange to mainframe

SET OutputRoot.MQRFH2.Encoding = 874;
SET OutputRoot.MQRFH2.CodedCharSetId = 838;


when we try to use it for mainframe to midrange response (message triggered from midrange) it shows as boxes.

we tried inversing it.

SET OutputRoot.MQRFH2.Encoding = 838;
SET OutputRoot.MQRFH2.CodedCharSetId = 874

we followed this
http://www-01.ibm.com/support/knowledgecenter/#!/SSFKSJ_8.0.0/com.ibm.mq.ref.dev.doc/q104470_.htm

the encoding at the application is windows-874.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Jul 17, 2014 4:55 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

j0ann3a wrote:
when we try to use it for mainframe to midrange response (message triggered from midrange) it shows as boxes.

What utility are you using to display the message?

Keep in mind that not all hex characters can be successfully displayed or printed. As Jeff suggests, you need to look at the hex characters before the message is sent down the network, and after it has been received.

The Encoding and CCSID settings of the MQMD does NOT make (invert, convert, transform, translate) the application data portion of the message into Thai. The program that creates the application data portion of the message determines the actual message data content.

j0ann3a wrote:

we used below setting for midrange to mainframe

SET OutputRoot.MQRFH2.Encoding = 874;
SET OutputRoot.MQRFH2.CodedCharSetId = 838;

Have you determined what Encoding 874 and CCSID 838 mean?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
MQsysprog
PostPosted: Thu Jul 17, 2014 6:11 am    Post subject: Reply with quote

Centurion

Joined: 24 Feb 2014
Posts: 116

Hi ,

I would like to check also :

1) If the conversion is requested on the MQ Z/OS sender channel
with conv=yes

2) Or conversely if you convert the message using mqgmo convert option at the back end ,when you receive the message

3) If your message contains some non numeric data .

And finallly the Sw levels of the two Qmanagers involved in the process ...
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 » General IBM MQ Support » Thai Char Display Problem
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.