abhina-sree wrote:

> OpenFlags |= sys::fs::OF_Text;

Thanks, I've made your suggested change and I opened a new PR here 
https://github.com/llvm/llvm-project/pull/109664. A short explanation for why 
distinguishing text and binary files on z/OS is important is because the native 
encoding is not UTF-8, so we need to know whether the file is text in order to 
convert to a UTF-8 encoding so that it is readable. 

https://github.com/llvm/llvm-project/pull/107906
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to