Updated documentation for text encodings. - sam - An updated version of the sam… | |
git clone git://vernunftzentrum.de/sam.git | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 00565c2038e509f543f5ad684835e07d2e10ab00 | |
parent 1289ce42b82e14082a5ab4e42e0a33f8260ff33b | |
Author: Rob King <[email protected]> | |
Date: Wed, 7 Dec 2016 23:42:11 -0600 | |
Updated documentation for text encodings. | |
Diffstat: | |
doc/sam.1 | 23 +++++++++++++++++++++++ | |
1 file changed, 23 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/doc/sam.1 b/doc/sam.1 | |
@@ -77,6 +77,29 @@ to be controlled via commands on the remote system. | |
Start the terminal part from the indicated file. | |
Useful for debugging. | |
.El | |
+.Ss Text Files | |
+.Nm | |
+can only edit text files, | |
+encoded using the encoding specified in the | |
+.Ev LC_ALL "," | |
+.Ev LC_CTYPE "," | |
+or | |
+.Ev LANG | |
+environment variables | |
+.Po | |
+see | |
+.Xr locale 7 | |
+.Pc "." | |
+.Nm | |
+supports any encoding supported by the underlying operating system. | |
+.Pp | |
+Editing files that do not contain valid text in the current encoding | |
+.Pq "including binary files" | |
+will result in a warning and such files generally neither load nor display cor… | |
+The standard | |
+.Xr iconv 1 | |
+utility can be used to convert among various text encodings, | |
+and may be useful in converting files to the current encoding for editing. | |
.Ss Regular expressions | |
Regular expressions are more-or-less as they are in | |
.Xr regex 7 "," |