LL027
ShortString usage
Object Pascal — Delphi & Free Pascal
Warning
Delphi
ShortString is a legacy fixed-length type that limits interoperability with modern Unicode APIs
ShortString is a legacy fixed-length type that limits interoperability with modern Unicode APIs.
Why this severity
ShortString is a legacy fixed-length type that limits interoperability with modern Unicode APIs.
Known false positives
intentional use in binary protocol structures requiring fixed-width fields.
Remediation example
var Value: string; // UnicodeString, no 255-char limit