summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2016-12-12 13:57:10 +1100
committerDamien Miller <djm@mindrot.org>2016-12-12 13:58:59 +1100
commitdda78a03af32e7994f132d923c2046e98b7c56c8 (patch)
tree589e87350c833aada6358afc719b7e08f7b64b75 /utf8.h
parentc35995048f41239fc8895aadc3374c5f75180554 (diff)
Force Turkish locales back to C/POSIX; bz#2643
Turkish locales are unique in their handling of the letters 'i' and 'I' (yes, they are different letters) and OpenSSH isn't remotely prepared to deal with that. For now, the best we can do is to force OpenSSH to use the C/POSIX locale and try to preserve the UTF-8 encoding if possible. ok dtucker@
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utf8.h b/utf8.h
index 43ce1d55d..88c5a34a3 100644
--- a/utf8.h
+++ b/utf8.h
@@ -22,3 +22,4 @@ int fmprintf(FILE *, const char *, ...)
22int vfmprintf(FILE *, const char *, va_list); 22int vfmprintf(FILE *, const char *, va_list);
23int snmprintf(char *, size_t, int *, const char *, ...) 23int snmprintf(char *, size_t, int *, const char *, ...)
24 __attribute__((format(printf, 4, 5))); 24 __attribute__((format(printf, 4, 5)));
25void msetlocale(void);