diff options
author | Brad King <brad.king@kitware.com> | 2014-08-06 13:26:28 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-08-06 13:26:28 (GMT) |
commit | 78efe8d4fd95feba45c41c6ecf9cdde0bfb19e51 (patch) | |
tree | ca9e6862c432fb97d1d832060d152a6a9c289920 /Help | |
parent | 4ec6ff8f9f38d02e300b3fc6bf75c2743eb70f97 (diff) | |
parent | 5b30ec28f9610b0e6d12b017d83fc362b0ef9ecf (diff) | |
download | CMake-78efe8d4fd95feba45c41c6ecf9cdde0bfb19e51.zip CMake-78efe8d4fd95feba45c41c6ecf9cdde0bfb19e51.tar.gz CMake-78efe8d4fd95feba45c41c6ecf9cdde0bfb19e51.tar.bz2 |
Merge topic 'file-strings-encoding'
5b30ec28 file: Add ENCODING option to file(STRINGS) command (#10519)
ffa373e7 file: Refactor internal implementation of file(STRINGS)
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/file.rst | 3 | ||||
-rw-r--r-- | Help/release/dev/file-strings-encoding.rst | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/Help/command/file.rst b/Help/command/file.rst index 58e3a26..dbc4149 100644 --- a/Help/command/file.rst +++ b/Help/command/file.rst @@ -64,6 +64,9 @@ Parse a list of ASCII strings from ``<filename>`` and store it in ``REGEX <regex>`` Consider only strings that match the given regular expression. +``ENCODING <encoding-type>`` + Consider strings of a given encoding. "UTF-8" is currently supported. + For example, the code .. code-block:: cmake diff --git a/Help/release/dev/file-strings-encoding.rst b/Help/release/dev/file-strings-encoding.rst new file mode 100644 index 0000000..9da3e47 --- /dev/null +++ b/Help/release/dev/file-strings-encoding.rst @@ -0,0 +1,5 @@ +file-strings-encoding +--------------------- + +* The :command:`file(STRINGS)` command gained a new ``ENCODING`` + option to enable extraction of ``UTF-8`` strings. |