Make sure the text decoder returns empty strings rather than null strings when the...
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 5 Nov 2004 00:32:01 +0000 (00:32 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 5 Nov 2004 00:32:01 +0000 (00:32 +0000)
commit9c5bd93b7fc2a1349548e0556410654eb69d4e43
treedbf89904cc93d80504db62c58c26439333597522
parent4a26a36870b7f3bc43a0f40cddb625ff72cbbf91
Make sure the text decoder returns empty strings rather than null strings when the utf8 char ptr is non-null.
Ensures that <a href=""> works with libxml (which returns data in utf-8 buffers).

        Reviewed by darin

        * kwq/KWQTextCodec.mm:
        (KWQTextDecoder::convertLatin1):
        (KWQTextDecoder::convertUTF16):
        (KWQTextDecoder::convertUsingTEC):
        (KWQTextDecoder::toUnicode):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7938 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/kwq/KWQTextCodec.mm