What problem does it solve?
This Skill prevents broken characters (mojibake like ç / ã) when Claude reads or edits ADVPL/TLPP source files that use mixed encodings across .prw/.prx (cp1252) and .tlpp (utf-8).
Core Features & Use Cases
- Encoding detection & preservation: keeps the detected encoding per source instead of forcing a global normalization that can corrupt files.
- Safe edit workflow for .prw/.prx: directs a stage/commit conversion flow to avoid re-writing cp1252 files as UTF-8 with replacement characters.
- Runtime conversion guidance: specifies when to use ADVPL conversion functions (EncodeUTF8/DecodeUTF8/STRICONV) for REST/JSON and other cross-codepage boundaries.
- Use Case: You ingest a legacy Protheus project where some .prw files show garbled accents in Read output; you want Claude to make correct edits without corrupting existing accents or causing AppServer UnicodeEncodeError.
Quick Start
Tell the AI: “Check encoding for the file FOO.prw in my plugadvpl index, then give me the correct stage/commit edit workflow to avoid corrupting existing accents.”