Fix the build.
* khtml/ecma/kjs_html.cpp: (KJS::HTMLDocument::putValue):
Add braces and fix a syntax error.
* kwq/mac-encodings.txt: Add comments. Make utf-16 be a synonym for
utf-8 rather than having it actually try to treat things as 16-bit.
We will have to revisit this, but for now it makes zingermans.com work again.
* kwq/make-charset-table.pl: Allow comments.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1814 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/kwq/make-charset-table.pl b/WebCore/kwq/make-charset-table.pl
index a7b99b9..f23c2b6 100755
--- a/WebCore/kwq/make-charset-table.pl
+++ b/WebCore/kwq/make-charset-table.pl
@@ -44,6 +44,8 @@
while (<MAC_ENCODINGS>) {
chomp;
+ s/\#.*$//;
+ s/\s+$//;
if (my ($MacName, $IANANames) = /(.*): (.*)/) {
my %aliases;