languages
languages copied to clipboard
FreePascal version uses short strings, truncating inputs
By default, FreePascal defines String as a synonym for ShortString, which cannot be longer than 255 bytes. Since many inputs are >255 bytes, the inputs get truncated and the results are incorrect.
https://www.freepascal.org/docs-html/prog/progsu25.html#x32-310001.2.25
https://wiki.freepascal.org/Character_and_string_types#String
Thanks! We need to fix!
Good to know! @KarolS if you know how to fix, would you mind making a PR?