diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2007-09-30 21:10:50 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2007-09-30 21:10:50 +0000 |
commit | 613f88393960853513873756933bd23b93543a33 (patch) | |
tree | f7f4c1acff769e9a7f6cd0f1c037ba2c28a66593 /src/utils/Makefile | |
parent | 5eba18a08b9821fa10cc03af8dbd7d1c10653b13 (diff) | |
download | libdom-613f88393960853513873756933bd23b93543a33.tar.gz libdom-613f88393960853513873756933bd23b93543a33.tar.bz2 |
DOM Strings are now capable of containing either UTF-8 or UTF-16 encoded data.
The charset used for strings within a document is specified at document creation time. Whilst it is possible to mix charsets within a document, it's not recommended.
Things that need fixing:
+ dom_string_get_data() doesn't return the charset. Better would be to permit
the client to request a charset for the data to be returned in.
+ Interned node name strings will break if the document is UTF-16
(dom_document_create()). In fact, these could quite happily be globals,
rather than allocating a set for each document.
+ Other usage of dom string constructors need checking for sanity
+ DOM Strings need to gain more utility APIs (such as getting the character
length of a string, string concatenation etc).
svn path=/trunk/dom/; revision=3614
Diffstat (limited to 'src/utils/Makefile')
-rw-r--r-- | src/utils/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/Makefile b/src/utils/Makefile index 29369ae..ac87ded 100644 --- a/src/utils/Makefile +++ b/src/utils/Makefile @@ -22,7 +22,7 @@ CFLAGS += -I$(CURDIR) # Objects -OBJS = namespace +OBJS = namespace utf8 utf16 .PHONY: clean debug distclean export release setup test |