[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.7.9-60-gd6c752
From: |
Ben Pfaff |
Subject: |
[Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.7.9-60-gd6c7529 |
Date: |
Fri, 02 Mar 2012 05:27:07 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU PSPP".
The branch, master has been updated
via d6c75296e5573a997c79a7af1195b6a619c0190c (commit)
via d12d1f1b4a8a43d611e1c30b57f5bd66178a103a (commit)
from 053a0212931c83393e2a9410695a9e30d832da44 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d6c75296e5573a997c79a7af1195b6a619c0190c
Author: Ben Pfaff <address@hidden>
Date: Wed Feb 29 22:43:22 2012 -0800
encoding-guesser: Fall back to windows-1252 when UTF-8 can't be right.
Until now the encoding-guesser code has used UTF-8 as a fallback in
situations where we can tell that the file is not valid UTF-8. In
this kind of situation having a single-byte character set as a
fallback makes more sense. This commit hard-codes windows-1252 as
that fallback, since it is a widely encountered encoding (and
compatible with ISO-8859-1 as well).
John Darrington originally suggested this, if I recall correctly.
The bug report that spurred this work was from Harry Thijssen. With
this commit, PSPP properly reads his windows-1252 file when the
system locale uses UTF-8 encoding.
commit d12d1f1b4a8a43d611e1c30b57f5bd66178a103a
Author: Ben Pfaff <address@hidden>
Date: Sun Feb 26 16:14:05 2012 -0800
encoding-guesser: Remove spurious blank line.
-----------------------------------------------------------------------
Summary of changes:
doc/utilities.texi | 23 ++++++++++----
src/libpspp/encoding-guesser.c | 58 +++++++++++++++++++++++-------------
src/libpspp/encoding-guesser.h | 8 +++--
src/libpspp/i18n.c | 14 +++++++++
src/libpspp/i18n.h | 2 +
src/libpspp/u8-istream.c | 5 ++-
tests/libpspp/encoding-guesser.at | 8 +++++
7 files changed, 85 insertions(+), 33 deletions(-)
hooks/post-receive
--
GNU PSPP
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.7.9-60-gd6c7529,
Ben Pfaff <=