Reviewed by Darin.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 28 Jan 2006 08:53:52 +0000 (08:53 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 28 Jan 2006 08:53:52 +0000 (08:53 +0000)
commit7b8d1590bf8ee5a440a39f9c3427d6a435e07197
tree5721a8243605080c80c5fc5583fc7dbc2696ff27
parentfb27de2a2e274a2fab3a2fab20166e0c02638a7c
    Reviewed by Darin.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5163
        RealPlayer.GetTitle() Crashes Safari/Dashboard

        * bindings/c/c_utility.cpp: (KJS::Bindings::convertUTF8ToUTF16):
        Fallback to kCFStringEncodingWindowsLatin1 if the passed buffer is not valid UTF-8, preventing crashes.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12426 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/bindings/c/c_utility.cpp