EDK II Multi-String .UNI File Format Specification

DRAFT FOR REVIEW

03/13/2023 11:45:01

Acknowledgements

Redistribution and use in source (original document form) and 'compiled' forms (converted to PDF, epub, HTML and other formats) with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code (original document form) must retain the above copyright notice, this list of conditions and the following disclaimer as the first lines of this file unmodified.

  2. Redistributions in compiled form (transformed to other DTDs, converted to PDF, epub, HTML and other formats) must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS DOCUMENTATION IS PROVIDED BY TIANOCORE PROJECT "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL TIANOCORE PROJECT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Copyright (c) 2016-2017, Intel Corporation. All rights reserved.

Revision History

Revision Description Date
1.0 Initial Release. February 2014
1.1 Updated EBNF to follow syntax specified in EBNF by the ANTLR project. August 2014
Added content related to EDK II Meta-Data Unicode files.
Restructured document.
Removed security and C format GUID definitions, not required for HII or other UNI files.
Removed invalid escape code sequences.
1.2 Added optional font formatting September 2014
1.2 Errata A Correct misspelling of: STR_PROPERTIES_MODULE_NAME April 2015
1.3 Added: Syntax for non-ascii characters inside quoted strings. March 2016
Removed: Info on specific consumers (.INF & .DEC) removed.
1.4 Convert to GitBook format April 2017
#506 UNI Spec: Clean up Related Information section
#507 UNI Spec: Clarify that .uni files maybe UTF-8 without a BOM