-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sources with "à" #1935
Comments
Hi @GCast31 , |
@sebjulliand Can you show me how to recreate this sometime using CL? I think this is the kind of thing we should write a test case for. |
Sure thing @worksofliam . BTW, I almost fixed it by removing all the |
@sebjulliand I would like to know more about this bug:
We must be careful when changing code handling object / member names with variant characters... we risk breaking things because of the many different situations. I've never seen a report of names with |
@chrjorgensen sure. Since It happens that It is valid when used as an object name. And so uppercasing it causes this kind of issue. I already saw some customers using
That is true, but we will need to support this use case I think. It's unusual but legit, I guess. |
Exactly what I was looking for. 👍
Sure, no complaint from here. 😉 All local characters caused by using variant characters in object names must be supported.
No - the variant characters in CCSID 277 (Danish/Norwegian) are the uppercase characters The real issue is that CCSID 297 has a lowercase variant character (You French people... why did you choose a lowercase character for Seems like we can't rely on simple upper-lowercasing of object names, but have to implement a conversion based on CCSID ourselves... Right? |
You've got me laughing out loud for a solid minute here 🤣
You're on point! How about we make a function that uppercases only A-Z characters and eligible variant characters? (i.e. |
I will check all CCSID's but I think only a few of them have letters as variant characters. It should be fairly easy to create a table of the eligible variant characters for the conversion function. |
I'm sorry to report that France was the only country hit by the Americans by having a lowercase variant character... 😞 But that means we only have to make special consideration for the @sebjulliand Will you make the routine to convert only A-Z and the eligible variant characters, as you suggested? 🙏 |
Oh dear 🙄 Let's kick the French out of the platform and...no...wait... |
@chrjorgensen I opened PR #1940 with the new function to upperCase names. For example, with PR applied we can get to the point where
And it returns this error (translated from French):
I check from In this case, the
This works...but not with CPYTOSTMF 😭 Even replacing At this point, in my opinion, we have two possible solutions:
What do you think @chrjorgensen, @worksofliam ? 🤔 |
@sebjulliand I hate to say it, but it seems like the first option is the way forward: copy to a temporary member, then open it. The reason is: the current SQL method is a lot slower than CPYTOSTMF and for that reason I use it mostly. I wonder why |
@worksofliam agreed. It's already in the PR 😅 |
Hi @GCast31 , |
Hi @sebjulliand Thanks for your fix but we have some problems. We can now open sources files but not compile. When we try to create a new member TESTà.RPGLE for example (Error : Invalid Member Name : TESTÀ) |
@GCast31 can you share the error you have when compiling (from the output tab)? What action did you use?
Meanwhile, I'll fix the creation issue. |
@GCast31 A new pre-release version 2.8.4 has just been created, which includes the latest changes for the |
Hi,
We have our sources named with "à" in last position (ex. CUSTOMà) but we can't open this file because it seem to do an uppercase
How can we do for using extension for our sources ?
Thanks
The text was updated successfully, but these errors were encountered: