
Jorge Olguin (super carnicerias hernandez sa de cv) asked a question.
I'm relying heavily on Claude to document source code, but it consumes considerable resources to verify that each file is correctly interpreted according to its codepage. It then proceeds to document and revert the codegape back to ISO-8859.
Is there a safe and consequence-free way to change the page encoding of all source (more than 4500 files) to UTF-8? Could PDSOE be at risk in this process?
The database is also defined as ISO-8859. Since I plan to perform a dump and reload in August to migrate from Workgroup to Enterprise, perhaps this would be a good time to consider switching to UTF-8.
Any advice will be very appreciated.
TIA
Jorge
Or as he's already using Claude, just ask Claude to generate a Python/Powershell/Bash/ABL/... script to convert all files in the folder from ISO8859-1 to UTF-8
PDSOE a risk in that process? (I'll refrain from making any inappropriate comments about PDSOE here)
Make sure the Project AVM's -cpstream startup parameter is set to UTF-8 (that is used to read the source code) and also the projects or workspaces code page setting is set to UTF-8 as well. But cpstream changes the default I/O codepage, also for your application runtime. That might be something you should test very carefully.
If you're using the OpenEdge Character client, be aware of it's limited support for UTF-8. https://community.progress.com/s/article/000046818
Our codebase is also still ISO8859-1 and has some German Umlaute (mostly in last names in developer comments) in the source. All my code changes are done by Claude - so what issue are you running into? It might be easier to solve that issue than migrating your application to UTF-8 over night.