Re: RNF0257
Daniel Gross <[email protected]> Fri, 20 Feb 2026 15:49:15 +0100
| Newsgroups | gmane.editors.websphere.iseries |
|---|---|
| Message-ID | <[email protected]> |
Yes - the source of the problem is, that the JRE in 9.9 is newer, and the JRE now uses UTF-8 as default. The version in 9.8 still used windows code page 1252. With the RDi.ini option the JRE in 9.9 is forced to use CP 1252 - but this results in that strange "shifting". I would create a small tool, that does the change (replace everything < EBCDIC 0x40 with 0x40) on the server side. This should run only seconds for a whole SRC-PF. HTH Daniel > Am 20.02.2026 um 14:16 schrieb Peter Colpaert <[email protected]>: > > Hi Daniel, > > strangely enough the characters are not shifted in 9.8, but they are in 9.9. > > And I agree that they should be removed. I tried creating an RDi plugin > that would do that (asking Gemini for help) but it didn't work. > > According to Gemini this is because the editor is in ASCII whereas the > sources are in EBCDIC. > > For the time being I'll just rely on the work-around. > > Thanks > > Peter > -- > > Peter Colpaert > > [email protected] > > > Op vr 20 feb 2026 om 12:30 schreef Daniel Gross <[email protected]>: > >> This shift only looks like that - in fact LPEX tries to display those >> undisplayable chars, and fails. >> >> If you press backspace once - it should be only one step. >> >> Best practice is, to remove those color codes completely, as neither RDi >> nor VS Code can display it. >> >> HTH >> Daniel >> >> >>> Am 20.02.2026 um 12:20 schrieb Peter Colpaert <[email protected] >>> : >>> >>> Hi Daniel, >>> >>> the workaround suggested in the defect indeed solves the RNF0257 errors. >>> >>> I do notice that the comment-lines-with-codes are still shifted one >>> character to the left: the * is in column 6 instead of 7. Strangely >> enough >>> this doesn't trigger a syntax error, whereas it does if I manually put a >> * >>> in column 6. >>> >>> But for the time being my issue seems to be gone. >>> >>> Thanks for the help! >>> >>> Best regards, >>> >>> Peter >>> -- >>> >>> Peter Colpaert >>> >>> [email protected] >>> >>> >>> Op vr 20 feb 2026 om 08:13 schreef Daniel Gross <[email protected]>: >>> >>>> There is an unresolved issue with the parser: >>>> >>>>> >>>> >> https://www.ibm.com/mysupport/s/defect/aCIgJ0000009zib/dt461825?language=en_US >>>> >>>> Also affects sources with national language characters. >>>> >>>> HTH >>>> Daniel >>>> >>>> >>>>> Am 20.02.2026 um 07:47 schrieb Peter Colpaert < >> [email protected] >>>>> : >>>>> >>>>> Hi all, >>>>> >>>>> I switched to RDi 9.9 a few days after it came out, and I've noticed >> some >>>>> strange difference with 9.8. >>>>> >>>>> Our RPGLE sources contain lots of coloured comments (using low hex >>>>> characters) and since upgrading to version 9.9 these are flagged with >> the >>>>> errors above when validating or even when editing source. Automatic >>>> syntax >>>>> checking is on. >>>>> >>>>> Also the lines where such colour codes are present, are shifted one >>>>> character to the left, which I think is causing the errors. >>>>> >>>>> Compilation does work so it's clearly a parser and/or verifier problem. >>>>> >>>>> The exact same source will validate just fine in 9.8. >>>>> >>>>> I compared the configurations for both versions of RDi but can't find >> any >>>>> difference. FWIW I copied my 9.8 workspace for use in 9.9. >>>>> >>>>> Any clue as to what I can do about this? >>>>> >>>>> Thanks in advance. >>>>> >>>>> Peter >>>>> -- >>>>> >>>>> Peter Colpaert >>>>> >>>>> [email protected] >>>>> -- >>>>> This is the Rational Developer for IBM i (WDSCI-L) mailing list >>>>> To post a message email: [email protected] >>>>> To subscribe, unsubscribe, or change list options, >>>>> visit: https://lists.midrange.com/mailman/listinfo/wdsci-l >>>>> or email: [email protected] >>>>> Before posting, please take a moment to review the archives >>>>> at https://archive.midrange.com/wdsci-l. >>>>> >>>>> >>>> -- >>>> This is the Rational Developer for IBM i (WDSCI-L) mailing list >>>> To post a message email: [email protected] >>>> To subscribe, unsubscribe, or change list options, >>>> visit: https://lists.midrange.com/mailman/listinfo/wdsci-l >>>> or email: [email protected] >>>> Before posting, please take a moment to review the archives >>>> at https://archive.midrange.com/wdsci-l. >>>> >>>> >>>> >>> -- >>> This is the Rational Developer for IBM i (WDSCI-L) mailing list >>> To post a message email: [email protected] >>> To subscribe, unsubscribe, or change list options, >>> visit: https://lists.midrange.com/mailman/listinfo/wdsci-l >>> or email: [email protected] >>> Before posting, please take a moment to review the archives >>> at https://archive.midrange.com/wdsci-l. >>> >>> >> -- >> This is the Rational Developer for IBM i (WDSCI-L) mailing list >> To post a message email: [email protected] >> To subscribe, unsubscribe, or change list options, >> visit: https://lists.midrange.com/mailman/listinfo/wdsci-l >> or email: [email protected] >> Before posting, please take a moment to review the archives >> at https://archive.midrange.com/wdsci-l. >> >> >> > -- > This is the Rational Developer for IBM i (WDSCI-L) mailing list > To post a message email: [email protected] > To subscribe, unsubscribe, or change list options, > visit: https://lists.midrange.com/mailman/listinfo/wdsci-l > or email: [email protected] > Before posting, please take a moment to review the archives > at https://archive.midrange.com/wdsci-l. > > -- This is the Rational Developer for IBM i (WDSCI-L) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/wdsci-l or email: [email protected] Before posting, please take a moment to review the archives at https://archive.midrange.com/wdsci-l.