Mention more explicitly that only CP-437 and UTF-8 are supported by libzip.
Addresses #212.
diff --git a/man/zip_dir_add.mdoc b/man/zip_dir_add.mdoc
index 023ace9..01e0a22 100644
--- a/man/zip_dir_add.mdoc
+++ b/man/zip_dir_add.mdoc
@@ -29,7 +29,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd April 25, 2020
+.Dd September 20, 2020
.Dt ZIP_DIR_ADD 3
.Os
.Sh NAME
@@ -62,6 +62,7 @@
Guess encoding of
.Ar name
(default).
+(Only CP-437 and UTF-8 are recognized.)
.It Dv ZIP_FL_ENC_UTF_8
Interpret
.Ar name
diff --git a/man/zip_file_add.mdoc b/man/zip_file_add.mdoc
index 4a3e3b0..746f5ad 100644
--- a/man/zip_file_add.mdoc
+++ b/man/zip_file_add.mdoc
@@ -29,7 +29,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd December 18, 2017
+.Dd September 22, 2020
.Dt ZIP_FILE_ADD 3
.Os
.Sh NAME
@@ -76,6 +76,7 @@
Guess encoding of
.Ar name
(default).
+(Only CP-437 and UTF-8 are recognized.)
.It Dv ZIP_FL_ENC_UTF_8
Interpret
.Ar name
diff --git a/man/zip_file_get_comment.mdoc b/man/zip_file_get_comment.mdoc
index 7243282..d40a489 100644
--- a/man/zip_file_get_comment.mdoc
+++ b/man/zip_file_get_comment.mdoc
@@ -29,7 +29,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd December 18, 2017
+.Dd September 22, 2020
.Dt ZIP_FILE_GET_COMMENT 3
.Os
.Sh NAME
@@ -77,6 +77,7 @@
(Default.)
Guess the encoding of the comment in the ZIP archive and convert it
to UTF-8, if necessary.
+(Only CP-437 and UTF-8 are recognized.)
.It Dv ZIP_FL_ENC_STRICT
Follow the ZIP specification for file names and extend it to file
comments, expecting them to be encoded in CP-437 in the ZIP archive
diff --git a/man/zip_file_rename.mdoc b/man/zip_file_rename.mdoc
index d1a23d1..8b98303 100644
--- a/man/zip_file_rename.mdoc
+++ b/man/zip_file_rename.mdoc
@@ -29,7 +29,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd December 18, 2017
+.Dd September 22, 2020
.Dt ZIP_FILE_RENAME 3
.Os
.Sh NAME
@@ -56,6 +56,7 @@
Guess encoding of
.Ar name
(default).
+(Only CP-437 and UTF-8 are recognized.)
.It Dv ZIP_FL_ENC_UTF_8
Interpret
.Ar name
diff --git a/man/zip_file_set_comment.mdoc b/man/zip_file_set_comment.mdoc
index 1e596cf..213e0cb 100644
--- a/man/zip_file_set_comment.mdoc
+++ b/man/zip_file_set_comment.mdoc
@@ -29,7 +29,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd December 18, 2017
+.Dd September 22, 2020
.Dt ZIP_FILE_SET_COMMENT 3
.Os
.Sh NAME
@@ -65,6 +65,7 @@
Guess encoding of
.Ar comment
(default).
+(Only CP-437 and UTF-8 are recognized.)
.It Dv ZIP_FL_ENC_UTF_8
Interpret
.Ar comment
diff --git a/man/zip_get_archive_comment.mdoc b/man/zip_get_archive_comment.mdoc
index ce9a01b..bfd5ae7 100644
--- a/man/zip_get_archive_comment.mdoc
+++ b/man/zip_get_archive_comment.mdoc
@@ -29,7 +29,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd July 22, 2018
+.Dd September 22, 2020
.Dt ZIP_GET_ARCHIVE_COMMENT 3
.Os
.Sh NAME
@@ -75,6 +75,7 @@
(Default.)
Guess the encoding of the archive comment in the ZIP archive and convert it
to UTF-8, if necessary.
+(Only CP-437 and UTF-8 are recognized.)
.It Dv ZIP_FL_ENC_STRICT
Follow the ZIP specification for file names and extend it to the
archive comment, thus also expecting it in CP-437 encoding.
diff --git a/man/zip_get_name.mdoc b/man/zip_get_name.mdoc
index 27084f4..0b086c7 100644
--- a/man/zip_get_name.mdoc
+++ b/man/zip_get_name.mdoc
@@ -29,7 +29,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd December 18, 2017
+.Dd September 22, 2020
.Dt ZIP_GET_NAME 3
.Os
.Sh NAME
@@ -71,6 +71,7 @@
(Default.)
Guess the encoding of the name in the ZIP archive and convert it
to UTF-8, if necessary.
+(Only CP-437 and UTF-8 are recognized.)
.It Dv ZIP_FL_ENC_STRICT
Follow the ZIP specification and expect CP-437 encoded names in
the ZIP archive (except if they are explicitly marked as UTF-8).
diff --git a/man/zip_name_locate.mdoc b/man/zip_name_locate.mdoc
index d16402d..04a586d 100644
--- a/man/zip_name_locate.mdoc
+++ b/man/zip_name_locate.mdoc
@@ -29,7 +29,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd December 18, 2017
+.Dd September 22, 2020
.Dt ZIP_NAME_LOCATE 3
.Os
.Sh NAME
@@ -74,6 +74,7 @@
(Default.)
Guess the encoding of the name in the ZIP archive and convert it
to UTF-8, if necessary, before comparing.
+(Only CP-437 and UTF-8 are recognized.)
.It Dv ZIP_FL_ENC_STRICT
Follow the ZIP specification and expect CP-437 encoded names in
the ZIP archive (except if they are explicitly marked as UTF-8).