mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
file: Teach STRINGS to support UTF-16 and UTF-32 encodings
This commit is contained in:
committed by
Brad King
parent
19e57a48cd
commit
1f77a7001b
@@ -65,7 +65,10 @@ Parse a list of ASCII strings from ``<filename>`` and store it in
|
||||
Consider only strings that match the given regular expression.
|
||||
|
||||
``ENCODING <encoding-type>``
|
||||
Consider strings of a given encoding. "UTF-8" is currently supported.
|
||||
Consider strings of a given encoding. Currently supported encodings are:
|
||||
UTF-8, UTF-16LE, UTF-16BE, UTF-32LE, UTF-32BE. If the ENCODING option
|
||||
is not provided and the file has a Byte Order Mark, the ENCODING option
|
||||
will be defaulted to respect the Byte Order Mark.
|
||||
|
||||
For example, the code
|
||||
|
||||
|
||||
Reference in New Issue
Block a user