Re: FW: Unicde Encoding Scheme on AS/400

From: schererm@us.ibm.com
Date: Wed Aug 04 1999 - 20:51:31 EDT


hello,

i cannot tell you if mqseries will convert the string. i would hope not (it
would have to know or assume the source codepage).

as for the unicode vs. ebcdic question, there is indeed an encoding of unicode
that is as ebcdic-safe as utf-8 is ascii- or unix-safe: see the fairly new
unicode technical report about it at
http://www.unicode.org/unicode/reports/tr16/ . it may or may not be useful in
your particular situation.

markus

"Magda Danish (Unicode)" <v-magdad@microsoft.com> on 99-08-04 16:48:28

To: Unicode List <unicode@unicode.org>
cc:
Subject: FW: Unicde Encoding Scheme on AS/400

-----Original Message-----
From: xcchen@excite.com [mailto:xcchen@excite.com]
Sent: Wednesday, August 04, 1999 7:45 AM
To: info@unicode.org
Subject: Unicde Encoding Scheme on AS/400

Hi, there:

I am investigating the reliability of one communication project by using
MQSeries between Solaris and AS/400 to transmit unicode in ucs-2 or utf-8.
Whether ucs-2 or utf-8 is depedent upon how the web-application(CGI,
Livewire, javascript, ...) will retrieve the data format from the national
browser. Any advise here?

I have one concern:

Unicode seems to be very ascii like. For example, I have two characters in
UTF-8 encoding:

          5A C3B8

i.e.,
  0101,1010 110,00011 10,111000
  (5A, ASCII for'Z') (sample utf-8 for 2 byte character)

The first character is ascii 'Z', I am not sure the second character, I just
pick it up as an example.

AS these two charaters are trnasmitted to the AS/400 platform, does that
mean it will be converted something like this:

 1110,1001 110,00011 10,111000
 (E9, EBCDIC for 'Z') (keep the same as above or ???)

Or I am totalloy got lost?

Is there any encoding standard of unicode based upon EBCDIC?

Looking forward to your response.

Thanks. Xue-Chun.

________________________________________________________________
Get FREE voicemail, fax and email at http://voicemail.excite.com
Talk online at http://voicechat.excite.com



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:20:50 EDT