summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-01-08 20:48:14 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-01-08 20:48:14 +0000
commit3d83e3e05c65002f9979cf6bd57812576c1681d5 (patch)
tree47c2745994fb91451640c4d031d611d2e8732ead
parent039bf2e7e5b8e0a35867b6f00641a351a95d4fbc (diff)
downloadlibparserutils-3d83e3e05c65002f9979cf6bd57812576c1681d5.tar.gz
libparserutils-3d83e3e05c65002f9979cf6bd57812576c1681d5.tar.bz2
Document how to enable iconv() support
svn path=/trunk/libparserutils/; revision=6003
-rw-r--r--README21
1 files changed, 20 insertions, 1 deletions
diff --git a/README b/README
index 72041c0..a1979ad 100644
--- a/README
+++ b/README
@@ -18,7 +18,7 @@ Requirements
+ Pkg-config (for the testcases)
For enhanced charset support, LibParserUtils may also be configured to use
- an iconv() implementation.
+ an iconv() implementation, see the "Enabling iconv() support" section, below.
Compilation
-----------
@@ -42,3 +42,22 @@ API documentation
public API may be found in the "include" directory. The testcase sources
may also be of use in working out how to use it.
+Enabling iconv() support
+------------------------
+
+ By default, libparserutils only supports the following character sets:
+
+ + UTF-16 (platform-native endian)
+ + UTF-8
+ + ISO-8859-n
+ + 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:
+
+ $ echo "CFLAGS += -DWITH_ICONV_FILTER" \
+ >build/Makefile.config.override
+
+ Then build libparserutils as normal.
+