summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-03-25 14:00:46 -0700
committerJunio C Hamano <gitster@pobox.com>2013-03-25 14:00:46 -0700
commit573f1a9cf163365637a36a6d95c670883a918352 (patch)
treeeffc3020b28a5f60dfb0f20151bd47a315f342da /utf8.h
parentfb3b7b1f95ce3c39f1116ebabf0bbcbfd3bb8796 (diff)
parent6cd3c0532772749bcf6c4688f34c8ecc65ecb655 (diff)
downloadgit-573f1a9cf163365637a36a6d95c670883a918352.tar.gz
Merge branch 'ks/rfc2047-one-char-at-a-time'
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 501b2bd9c4..1f8ecad1e8 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