prost
                                
                                 prost copied to clipboard
                                
                                    prost copied to clipboard
                            
                            
                            
                        How to decode with from_utf8_lossy?
"invalid string value: data is not UTF-8 encoded"
Some characters is invalid, but I think it's not important.
Some users may submit invalid utf-8 character, and I can't avoid it.
https://github.com/tokio-rs/prost/blob/87cea1d49a4e5df1d4bfd3c26045a444c5f37955/src/encoding.rs#L847
If you don't need UTF-8 validation, you can change the type of the field to bytes, which will yield Vec<u8> and utf-8 validation will be skipped.  This change is considered wire-compatible per the Protobuf spec.