ppkarwasz commented on PR #443:
URL: https://github.com/apache/commons-codec/pull/443#issuecomment-5654527926

   @lenamonj,
   
   Nice catch! :100:
   
   I completely overlooked that both Git and SWHID (https://www.swhid.org/) 
treat file names as plain byte sequences.
   
   That raises a question, though: did we miss a `Charset` parameter in the 
API? Encoding file names in a Git repo with anything other than `UTF-8` is 
technically possible, but it's a recipe for collaboration headaches.
   
   I'm okay with just assuming UTF-8 for file names, but we should spell that 
out somewhere:
   
   > Git and SWHID treat file names as opaque byte sequences with no defined 
encoding. The identifiers produced here coincide with Git's or SWHID's own 
identifiers only if the original file names were UTF-8 encoded.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to