summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2015-12-15 04:50:50 +0000
committerjljusten <jljusten@Edk2>2015-12-15 04:50:50 +0000
commit3f45c1375d0e374ba71613b2da5f323215546410 (patch)
treec73767fba3866446472afe2669322e142498b4ff /.gitignore
parent3b567f08f99df24a31fa06750171b7050e08f966 (diff)
downloadedk2-platforms-3f45c1375d0e374ba71613b2da5f323215546410.tar.xz
BaseTools/Scripts: Add ConvertUni.py script
This script uses python codecs to convert .uni string files between the utf-16 and utf-8 formats. The advantages of utf-8 data: * Generally smaller files * More commonly supported by editors * Not treated as binary data in patch files The script was tested on MdePkg with both python 2.7 and python 3.4. It was able to convert all MdePkg .uni files between utf-8 and utf-16 multiple times always producing the same files for each format. v2: * Rename ConvertUtf16ToUtf8.py to ConvertUni.py * Also support utf-8 to utf-16 conversion (with --utf-16) Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Michael Kinney <michael.d.kinney@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19247 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions