Corentin via llvm-dev
2020-Jun-11 16:34 UTC
[llvm-dev] RFC: Adding support for the z/OS platform to LLVM and clang
Hello.> 2) Add patches to Clang to allow EBCDIC and ASCII (ISO-8859-1) encodedinput source files. This would be done at the file open time to allow the rest of Clang to operate as if the source was UTF-8 and so require no changes downstream. Feedback on this plan is welcome from the Clang community. Would it be correct to assume that this EBCDIC -> UTF-8 mapping would be as prescribed by UTF-EBCDIC / IBM CDRA, notably for the control characters that do not map exactly? Notably, if the execution encoding is EBCDIC, is '0x06' equivalent to '0086', etc? The question "Is Unicode sufficient to represent all characters present in the input source without using the Private Use Area?" is one that is relevant to both Clang and the C/C++ standard. ( I do hope that it is the case!) Thanks, Corentin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200611/49cf327f/attachment.html>