Yup, 0E/0F is definitely good old fashioned DBCS.

Joe

Hi Bradley,

That looks like some sort of EBCDIC double byte sequence, x'0e' being shift out (of single byte) then a single double byte character x'e0d2' then shift in (to single byte) x'0f'.

What is the CCSID of the PF (& field if applicable) ?

What is the job CCSID? Job default CCSID?

What is the CCSID of the stream file?

Regards,

Kevin Wright

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Bradley Stone
Sent: Friday, 28 October 2011 1:25 PM
To: MIDRANGE-L@xxxxxxxxxxxx
Subject: Conversion issue on degree symbol


Hello, all! I posted this on the RPG board but I think it will get
more exposure here and isn't necisarily RPG only related.

I'm having an issue where a PF contains a degree symbol (ebcdic hex 90
code page 37) and when trying to write data to a stream file that
includes this symbol it seems to be mucking it up big time.

All the xlation tables I've seen for 819, 1252, etc seem to state it
should be converted to ASCII hex B0, but it looks like it's converting
it to hex'0E E0 D2 0F'

So,



gets converted to

N àÒ

I found a thread on another board with the same issue with no
resolution.

The conversion is being done with the stream file APIs using
O_CODEPAGE for the conversion.

Anyone ran into this before? Or have any ideas?

Brad
www.bvstools.com
--
This is the Midrange Systems Technical Discussion
(MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.