edk2/BaseTools/Source/Python/AutoGen
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.py BaseTools: The token values cannot be numeric same with different PCDs. 2015-06-23 07:02:03 +00:00
BuildEngine.py BaseTools: Implement BUILDRULEORDER for tools_def 2015-05-26 10:32:07 +00:00
GenC.py BaseTools: Added extern declaration for protocols/PPI/GUID in AutoGhen.h 2015-06-08 08:08:58 +00:00
GenDepex.py 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
GenMake.py BaseTools: Fixed a bug to generate correct path of PACKAGE_RELATIVE_PATH 2015-06-16 04:23:00 +00:00
GenPcdDb.py BaseTools/Build: The PCD value in uninitialized data range should be natural aligned. 2015-05-12 00:58:20 +00:00
InfSectionParser.py License header updated to match correct format. 2014-08-28 13:53:34 +00:00
StrGather.py License header updated to match correct format. 2014-08-28 13:53:34 +00:00
UniClassObject.py BaseTools/UniClassObject: Support UTF-8 string data in .uni files 2015-06-23 23:34:28 +00:00
ValidCheckingInfoObject.py BaseTools/Build: Add SDL support 2015-04-10 06:59:47 +00:00
__init__.py Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00:00