I I am trying to export our documentation as HTML and get the following error message:
panicked at lib\paslang\crates\types\src\sym.rs:278:35:
called `Result::unwrap()` on an `Err` value: Utf8Error { valid_up_to: 64, error_len: Some(1) }
Error: Any { ... }
Can anyone tell me what this error means?
We are using Version 6.0.0.16_win64 with Delphi 12.2
Hi, This panic indicates that an xml doc comment has an invalid UTF-8 character. We will add more error log in next update. In addition, you may scan your source files to address the invalid character. (As it is in xml doc comment, dcc may not report the error)
Instead of panic, we will use lossy utf8 in future (e.g. use � as replacement)