[PATCH 0/8] character encoding portability updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I got a clue from Alex Riesen's "Use UTF-8 instead of utf8 for backward
compatibility" commit 39d404d1 that some of the iconv issues on Solaris
and IRIX could be caused by character code naming issues.  It seems that
these platforms do not understand all of the alternate names that modern
platforms do.

Character encodings are not a strong point of mine, so do comment if you
see something wrong.

In particular, notice 4/8 that changes the default fallback encoding to
ISO8859-1 instead of latin1.  My understanding is that these two are
equivalent.

With this series applied, Solaris 10 must skip only 4 tests for me (plus two
more if I use Korn shell).  The remaining ones that are skipped have to do
with iconv but the character code conversions being tested are not installed.

Solaris 7 must skip 30 (32 with Korn shell), down from 52 (54), and IRIX 6.5
must skip only 13, down from 44.

-brandon


Brandon Casey (8):
  t3900: use ancient iconv names for backward compatibility
  Use 'UTF-8' rather than 'utf-8' everywhere for backward compatibility
  builtin-mailinfo.c: compare character encodings case insensitively
  builtin-mailinfo.c: use "ISO8859-1" instead of "latin1" as fallback
    encoding
  t3901: avoid negation on right hand side of '|'
  t3901: Use ISO8859-1 instead of ISO-8859-1 for backward compatibility
  t9301: use ISO8859-1 rather than ISO-8859-1
  t5100: use ancient encoding syntax for backwards compatibility

 builtin-log.c                             |    2 +-
 builtin-mailinfo.c                        |   10 +++----
 builtin-revert.c                          |    4 +-
 pretty.c                                  |    4 +-
 t/t3900-i18n-commit.sh                    |   28 ++++++++++----------
 t/t3900/{ISO-8859-1.txt => ISO8859-1.txt} |    0
 t/t3900/{EUCJP.txt => eucJP.txt}          |    0
 t/t3901-i18n-patch.sh                     |   40 ++++++++++++++--------------
 t/t5100/rfc2047-samples.mbox              |   32 +++++++++++-----------
 t/t5100/sample.mbox                       |    8 +++---
 t/t9129-git-svn-i18n-commitencoding.sh    |   10 +++---
 t/t9301-fast-export.sh                    |    2 +-
 t/t9500-gitweb-standalone-no-errors.sh    |    2 +-
 13 files changed, 70 insertions(+), 72 deletions(-)
 rename t/t3900/{ISO-8859-1.txt => ISO8859-1.txt} (100%)
 rename t/t3900/{EUCJP.txt => eucJP.txt} (100%)

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]