en_US.UTF-8 locale detection
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | test: add a library to detect an en_US.UTF-8 localet/ | +167 | 1 reply | |
| 2/4 | test-lib.sh: add test_utf8() functiont/ | +14 | 1 reply | |
| 3/4 | test: use test_utf8 and GIT_LC_UTF8 where an en_US.UTF-8 locale is requiredt/ t/ | +11 | 1 reply | |
| 4/4 | t9129: use "$PERL_PATH" instead of "perl"t/ | +1 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH/RFC 0/4] en_US.UTF-8 locale detection
Following discussions[1] about test t9129 UTF-8 locale detection, here's a generic rewrite of the en_US.UTF-8 locale detection to be used with all other tests.
[1] http://thread.gmane.org/gmane.comp.version-control.git/147283
The proposed mechanism could work for system without "locale" command, and would detect en_US.UTF-8 locale when named en_US.utf8 or some other variations.
It must be tested on a wider range of systems (especially non-Linux).
Yann Droneaud (4):
test: added a library to detect an en_US.UTF-8 locale test-lib.sh: added test_utf8() function
test: use test_utf8 and GIT_LC_UTF8 where an en_US.UTF-8 locale is
required
t9129: use "$PERL_PATH" instead of "perl"
t/lib-locale.pl | 167 ++++++++++++++++++++++++++++++++ t/t9100-git-svn-basic.sh | 25 ++--- t/t9129-git-svn-i18n-commitencoding.sh | 13 +-- t/test-lib.sh | 14 +++ 4 files changed, 192 insertions(+), 27 deletions(-) create mode 100755 t/lib-locale.pl
Signature · 1 line
1.7.3.4