Skip to content

en_US.UTF-8 locale detection

Yann Droneaud git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4test: add a library to detect an en_US.UTF-8 localet/lib-locale.pl+167 -01 reply
2/4test-lib.sh: add test_utf8() functiont/test-lib.sh+14 -01 reply
3/4test: use test_utf8 and GIT_LC_UTF8 where an en_US.UTF-8 locale is requiredt/t9100-git-svn-basic.sh t/t9129-git-svn-i18n-commitencoding.sh+11 -271 reply
4/4t9129: use "$PERL_PATH" instead of "perl"t/t9129-git-svn-i18n-commitencoding.sh+1 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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