summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/util.c b/util.c
index 763966a..48cd4ff 100644
--- a/util.c
+++ b/util.c
@@ -193,13 +193,6 @@ utf8_validate(const char *str, size_t length)
return true;
}
-int
-utf8_encode_char(char *out, unsigned int uc)
-{
- unicode_to_utf8(uc, (unsigned char *) out);
- return pg_utf_mblen((unsigned char *) out);
-}
-
char *
server_to_utf8(const char *str, int len)
{