diff options
author | axel <axel@liljencrantz.se> | 2006-01-09 09:00:49 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-01-09 09:00:49 +1000 |
commit | 906495d713fa6e773ccd093143c34336361f28c8 (patch) | |
tree | 0af3bca4ae92a1d12ea8ebee539d9668175a38ee /common.h | |
parent | 690648e1b0a04db179d113e2900dde52d0e7f67f (diff) |
Improve locale implementation (should now behave identically to bash) and document locale variables behaviour
darcs-hash:20060108230049-ac50b-403f1d00c8483fc4fecc275b62e40b1c3d51bfc1.gz
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |