diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-04-21 20:58:53 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-04-21 20:58:53 +0000 |
commit | 50c643f6ceca1dd1862f9ae05aa7f9cef186d3ed (patch) | |
tree | 8741bc7e402de2adffcea03f54887e01361d489f /README | |
parent | 83cb85be93ffc1adbd64a9268349d44ec52a43b6 (diff) | |
download | libparserutils-50c643f6ceca1dd1862f9ae05aa7f9cef186d3ed.tar.gz libparserutils-50c643f6ceca1dd1862f9ae05aa7f9cef186d3ed.tar.bz2 |
Require iconv by default, as this is the most useful configuration
svn path=/trunk/libparserutils/; revision=12215
Diffstat (limited to 'README')
-rw-r--r-- | README | 26 |
1 files changed, 10 insertions, 16 deletions
@@ -24,8 +24,10 @@ Requirements + Pkg-config (for the testcases) + doxygen (for the API documentation) - For enhanced charset support, LibParserUtils may also be configured to use - an iconv() implementation, see the "Enabling iconv() support" section, below. + For enhanced charset support, LibParserUtils requires an iconv() + implementation. If you don't have an implementation of iconv(), + this requirement may be disabled: see the "Disabling iconv() + support" section, below. Compilation ----------- @@ -100,10 +102,11 @@ API documentation The test driver code in test/ may also provide some useful pointers. -Enabling iconv() support ------------------------- +Disabling iconv() support +------------------------- - By default, libparserutils only supports the following character sets: + Without iconv() support enabled, libparserutils only supports the + following character sets: + UTF-16 (platform-native endian) + UTF-8 @@ -111,19 +114,10 @@ Enabling iconv() support + Windows-125n + US-ASCII - Support for more character sets may be enabled through the use of iconv(). - To enable iconv() support in libparserutils, do the following: + To disable iconv() support in libparserutils, do the following: - $ echo "CFLAGS += -DWITH_ICONV_FILTER" \ + $ echo "CFLAGS += -DWITHOUT_ICONV_FILTER" \ >build/Makefile.config.override Then build libparserutils as normal. -A note on character set aliases -------------------------------- - - Libparserutils uses an external mapping file to encode relationships between - character set names. This is the "Aliases" file. A copy may be found at - test/data/Aliases. The path to this file is required when calling - parserutils_initialise(). - |