aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/common.h b/common.h
index 77de61ca..33eb8341 100644
--- a/common.h
+++ b/common.h
@@ -256,9 +256,12 @@ wchar_t *quote_end( const wchar_t *in );
void error_reset();
/**
- Set the locale, also change the ellipsis character
+ This function behaves exactly like a wide character equivalent of
+ the C function setlocale, except that it will also try to detect if
+ the user is using a Unicode character set, and if so, use the
+ unicode ellipsis character as ellipsis, instead of '$'.
*/
-void fish_setlocale( int category, const wchar_t *locale );
+const wchar_t *wsetlocale( int category, const wchar_t *locale );
/**
Checks if \c needle is included in the list of strings specified