diff options
author | Justin Borodinsky <justin.borodinsky@gmail.com> | 2015-01-11 19:33:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-01-27 16:30:26 (GMT) |
commit | 1f77a7001b2e3f8f9224cb603e5acfee45573064 (patch) | |
tree | 6e641ed7b6967267135c544adea91815523dd753 /Help/command | |
parent | 19e57a48cd1ad562b277c8fb9dc8285ef96acfa0 (diff) | |
download | CMake-1f77a7001b2e3f8f9224cb603e5acfee45573064.zip CMake-1f77a7001b2e3f8f9224cb603e5acfee45573064.tar.gz CMake-1f77a7001b2e3f8f9224cb603e5acfee45573064.tar.bz2 |
file: Teach STRINGS to support UTF-16 and UTF-32 encodings
Diffstat (limited to 'Help/command')
-rw-r--r-- | Help/command/file.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Help/command/file.rst b/Help/command/file.rst index b0d4792..73d4cfa 100644 --- a/Help/command/file.rst +++ b/Help/command/file.rst @@ -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 |