Yup that was it. Works OK now. Thanks Thomas!


On Wed, May 23, 2018 at 2:15 PM Stuart Rowe <rowestu@xxxxxxxxx> wrote:

AH - I have 3.1.2.r, I will update and retry.

On Wed, May 23, 2018 at 8:41 AM Thomas Raddatz <thomas.raddatz@xxxxxx>
wrote:

What iSphere version do you have installed? The problem you reported
should have been thoroughly fixed with iSphere 3.3.0.r.

Thomas.

-----Ursprüngliche Nachricht-----
Von: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] Im Auftrag von Stuart
Rowe
Gesendet: Mittwoch, 23. Mai 2018 14:26
An: Rational Developer for IBM i / Websphere Development Studio Client
for System i & iSeries
Betreff: [WDSCI-L] iSphere Compare Editor replacing characters with junk

I love the iSphere compare editor and use it a lot. Every time I merge
some changes into a member and save the member, the Compare Editor
corrupts
my source. I'm trying to figure out a way to keep it from doing so.

Many source members use what I will call the "overline" character as a
divider line comment, usually preceding a procedure, like this:

*______________________________
* Calculate some value.
*¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
p procname...

When displayed in the compare editor, it displays correctly. After saving
with the compare editor I find this:

*______________________________
* Calculate some value.
*¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
p procname...

The "overline" character was originally placed into the source member on
the i using SEU and it is x'BC' down there. The mangled line is a series
of x'62' and x'BC' characters, exactly twice as many characters as
originally there if the line length allows it to get that big, otherwise
it
is just truncated.

In some places I have also seen the copyright sign "@" in the source code,
again entered in the i in SEU as x'B4'. After saving with the compare
editor, is is stored as x'62B4' instead. and looks like "©". Really
hurts
when that was a one character constant '@' and now it is two characters 'Â
©'.

I use Windows 10, United States, English, my IBMi source files are all
CCSID(37). I can open and edit and save using the LPEX just fine without
corruption. I copy members around all day between libraries and files
using CPYF and RDi functions and nothing ever happens to them, they're
fine.

I had mentioned a similar oddity this on this message board some years ago
regarding the LPEX editor when using "Save as...", but that just replaced
ALL the "overline" characters with the weird little substitution character
and I never got any help but to "stop using that character" (that
character
is in thousands of members, so too late for that). Also the LPEX editor
doesn't seem to do that anymore, or I can't make it do that anymore, so I
thought I would ask again.
--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/wdsci-l.
--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the
intended recipient only. Access, disclosure, copying, distribution, or
reliance on any of it by anyone else is prohibited and may be a criminal
offence. Please delete if obtained in error and email confirmation to the
sender.
--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/wdsci-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-2022 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.