mstrap / bugtraq

Specification for linking Git with issue trackers
43 stars 15 forks source link

Fallback to UTF-8 if commit encoding is unsupported #14

Closed flaix closed 1 year ago

flaix commented 1 year ago

Reading the encoding of a commit can result in a Unsupported- or IllegalCharsetException. This happens when for whatever reason the commit has an encoding recorded that the system doesn't understand. This could also be erroneous entires like utf-9 or 'utf8'. Instead of completely failing, fallback to UTF-8.

mstrap commented 1 year ago

Thanks!