[PATCH] D46238: [llvm-rc] Add rudimentary support for codepages

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 30 13:21:48 PDT 2018


mstorsjo updated this revision to Diff 144623.
mstorsjo edited the summary of this revision.
mstorsjo added a comment.

Added a small mapping table to convert the full range of Win-1252 to unicode, renamed the enum constants to avoid potential clashes with windows headers.


https://reviews.llvm.org/D46238

Files:
  test/tools/llvm-rc/Inputs/cp1252.rc
  test/tools/llvm-rc/Inputs/utf8-escape-narrow.rc
  test/tools/llvm-rc/Inputs/utf8.rc
  test/tools/llvm-rc/codepage.test
  test/tools/llvm-rc/helpmsg.test
  tools/llvm-rc/Opts.td
  tools/llvm-rc/ResourceFileWriter.cpp
  tools/llvm-rc/ResourceFileWriter.h
  tools/llvm-rc/llvm-rc.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46238.144623.patch
Type: text/x-patch
Size: 12193 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180430/959e931b/attachment.bin>


More information about the llvm-commits mailing list