summaryrefslogtreecommitdiff
path: root/lib/strerror-stringprep.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/strerror-stringprep.c')
-rw-r--r--lib/strerror-stringprep.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/strerror-stringprep.c b/lib/strerror-stringprep.c
index 3e58245..3d736e1 100644
--- a/lib/strerror-stringprep.c
+++ b/lib/strerror-stringprep.c
@@ -58,6 +58,7 @@
* This usually indicate a problem in the calling application.
* STRINGPREP_UNKNOWN_PROFILE: The supplied profile name was not
* known to the library.
+ * STRINGPREP_ICONV_ERROR: Could not convert string in locale encoding.
* STRINGPREP_NFKC_FAILED: The Unicode NFKC operation failed. This
* usually indicate an internal error in the library.
* STRINGPREP_MALLOC_ERROR: The malloc() was out of memory. This is
@@ -115,6 +116,10 @@ stringprep_strerror (Stringprep_rc rc)
p = _("Unknown profile");
break;
+ case STRINGPREP_ICONV_ERROR:
+ p = _("Could not convert string in locale encoding.");
+ break;
+
case STRINGPREP_NFKC_FAILED:
p = _("Unicode normalization failed (internal error)");
break;