Fix first two bugs in compound text support: escape sequences were
mis-ordered, and initial charset state failed to specify 8859-1 in GR.
git-svn-id: svn://svn.tartarus.org/sgt/charset@4579
cda61777-01e9-0310-a592-
d414129be87e
The COMPOUND_TEXT encoding used by some X applications to transfer
internationalised text in selections is a subset of ISO 2022
containing no base character sets which libcharset doesn't already
support. As such, it isn't too hard to add direct compound text
support into libcharset, so here it is. With any luck I should
eventually be able to integrate this into Unix PuTTY, to deal with
the fact that the useful Xutf8 functions we currently use are
specific to XFree86.
git-svn-id: svn://svn.tartarus.org/sgt/charset@4578
cda61777-01e9-0310-a592-
d414129be87e
Preferred MIME name for ASCII is "US-ASCII", not "ANSI_X3.4-1968". Oops.
git-svn-id: svn://svn.tartarus.org/sgt/charset@4269
cda61777-01e9-0310-a592-
d414129be87e
Add charset_from_locale(), a best-effort attempt to return the
libcharset CS_* identifier for the character set indicated by the
active locale. Uses code from Markus Kuhn's website.
git-svn-id: svn://svn.tartarus.org/sgt/charset@4115
cda61777-01e9-0310-a592-
d414129be87e
I typed `Win1252' today and libcharset didn't recognise it. Fixed.
git-svn-id: svn://svn.tartarus.org/sgt/charset@4107
cda61777-01e9-0310-a592-
d414129be87e
Fix an oddity in PDFDocEncoding.
git-svn-id: svn://svn.tartarus.org/sgt/charset@4093
cda61777-01e9-0310-a592-
d414129be87e
Now that I've renamed the `test' program to `convcs', fix .cvsignore.
git-svn-id: svn://svn.tartarus.org/sgt/charset@4091
cda61777-01e9-0310-a592-
d414129be87e
`gcc -Wall' points out some signed/unsigned comparisons. Fixed.
git-svn-id: svn://svn.tartarus.org/sgt/charset@4090
cda61777-01e9-0310-a592-
d414129be87e
Now this is a top-level CVS module, it should have LICENCE and
MODULE files of its own.
git-svn-id: svn://svn.tartarus.org/sgt/charset@4089
cda61777-01e9-0310-a592-
d414129be87e
Link libcharset into Halibut. (This involved faffing with
CVSROOT/modules, so anyone with a checked-out copy of Halibut will
unfortunately need to do `cvs co' again.)
git-svn-id: svn://svn.tartarus.org/sgt/charset@4088
cda61777-01e9-0310-a592-
d414129be87e
In preparation for using libcharset in Halibut, I've added
PDFDocEncoding to the SBCS list; this is a custom superset of
ISO-8859-1 used in PDF files to store user-visible text that isn't
printed on a page (such as metadata and the document outline).
git-svn-id: svn://svn.tartarus.org/sgt/charset@4087
cda61777-01e9-0310-a592-
d414129be87e
Include libcharset into both the Timber and Halibut checkouts.
Unfortunately this means people will have to do `cvs co' again to
get this update, but that appears to be the price I pay for being
able to conveniently share a single source base in this way.
git-svn-id: svn://svn.tartarus.org/sgt/charset@4086
cda61777-01e9-0310-a592-
d414129be87e