mirror_edk2/BaseTools/Source/Python
Jordan Justen be264422c9 BaseTools/UniClassObject: Support UTF-8 string data in .uni files
This allows .uni input files to be encoded with UTF-8. Today, we only
support UTF-16 encoding.

The strings are still converted to UCS-2 data for use in EDK II
modules. (This is the only unicode character format supported by UEFI
and EDK II.)

Although UTF-8 would allow any UCS-4 character to be present in the
source file, we restrict the entire file to the UCS-2 range.
(Including comments.) This allows the files to be converted to UTF-16
if needed.

v2:
 * Drop .utf8 extension. Use .uni file for UTF-8 data (mdkinney)
 * Merge in 'BaseTools/UniClassObject: Verify string data is 16-bit'
   commit

v3:
 * Restrict the entire file's characters (including comments) to the
   UCS-2 range in addition to string data. (mdkinney)

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Yingke Liu <yingke.d.liu@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17696 6f19259b-4bc3-4df7-8a09-765794883524
2015-06-23 23:34:28 +00:00
..
AutoGen BaseTools/UniClassObject: Support UTF-8 string data in .uni files 2015-06-23 23:34:28 +00:00
BPDG There is a limitation on WINDOWS OS for the length of entire file path can’t be larger than 255. There is an OS API provided by Microsoft to add “\\?\” before the path header to support the long file path. Enable this feature on basetools. 2014-08-15 03:06:48 +00:00
build BaseTools: Build report should not be generated if build failed. 2015-06-23 06:49:25 +00:00
Common BaseTools/EdkLogger: Support unit tests with a SILENT log level 2015-06-23 23:34:09 +00:00
CommonDataClass BaseTools: Supported FMP capsule image. 2015-06-23 06:46:01 +00:00
Ecc BaseTools/ECC: Fix some issues of ECC tool 2014-12-09 06:41:58 +00:00
Eot There is a limitation on WINDOWS OS for the length of entire file path can’t be larger than 255. There is an OS API provided by Microsoft to add “\\?\” before the path header to support the long file path. Enable this feature on basetools. 2014-08-15 03:06:48 +00:00
GenFds BaseTools: Supported FMP capsule image. 2015-06-23 06:46:01 +00:00
GenPatchPcdTable There is a limitation on WINDOWS OS for the length of entire file path can’t be larger than 255. There is an OS API provided by Microsoft to add “\\?\” before the path header to support the long file path. Enable this feature on basetools. 2014-08-15 03:06:48 +00:00
PatchPcdValue There is a limitation on WINDOWS OS for the length of entire file path can’t be larger than 255. There is an OS API provided by Microsoft to add “\\?\” before the path header to support the long file path. Enable this feature on basetools. 2014-08-15 03:06:48 +00:00
Rsa2048Sha256Sign Contributed-under: TianoCore Contribution Agreement 1.0 2014-08-14 20:08:17 +00:00
Table There is a limitation on WINDOWS OS for the length of entire file path can’t be larger than 255. There is an OS API provided by Microsoft to add “\\?\” before the path header to support the long file path. Enable this feature on basetools. 2014-08-15 03:06:48 +00:00
TargetTool License header updated to match correct format. 2014-08-28 13:53:34 +00:00
Trim License header updated to match correct format. 2014-08-28 13:53:34 +00:00
UPT BaseTools/Upt: Update help message 2015-06-19 00:05:25 +00:00
Workspace BaseTools/Build: Add error report for incorrect syntax in DEC file. 2015-06-23 08:45:06 +00:00
GNUmakefile Sync BaseTool trunk (version r2599) into EDKII BaseTools. 2013-08-23 02:18:16 +00:00
Makefile Adds new files to the Makefile for testing changed sources 2015-06-10 14:34:40 +00:00
sitecustomize.py License header updated to match correct format. 2014-08-28 13:53:34 +00:00