summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-04-03 16:25:29 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-04-03 16:25:29 (GMT)
commite6658b9d6917d9888fa41702bf53393c57de0631 (patch)
tree107e97e2b52e8c434b265b0889d649ba72946ad9 /utf8.h
parenta9dc3b64814f6fd1b978f10c6565bedae5965ad9 (diff)
parent6cd3c0532772749bcf6c4688f34c8ecc65ecb655 (diff)
downloadgit-e6658b9d6917d9888fa41702bf53393c57de0631.zip
git-e6658b9d6917d9888fa41702bf53393c57de0631.tar.gz
git-e6658b9d6917d9888fa41702bf53393c57de0631.tar.bz2
Merge branch 'ks/rfc2047-one-char-at-a-time' into maint
When "format-patch" quoted a non-ascii strings on the header files, it incorrectly applied rfc2047 and chopped a single character in the middle of it. * ks/rfc2047-one-char-at-a-time: format-patch: RFC 2047 says multi-octet character may not be split
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utf8.h b/utf8.h
index 501b2bd..1f8ecad 100644
--- a/utf8.h
+++ b/utf8.h
@@ -22,4 +22,6 @@ char *reencode_string(const char *in, const char *out_encoding, const char *in_e
#define reencode_string(a,b,c) NULL
#endif
+int mbs_chrlen(const char **text, size_t *remainder_p, const char *encoding);
+
#endif