• beidson@apple.com's avatar
    JavaScriptCore: · 347c0326
    beidson@apple.com authored
    2008-03-28  Brady Eidson  <beidson@apple.com>
    
            Reviewed by Darin
    
            Export Unicode/UTF8.h and convertUTF16ToUTF8() for more flexible conversion in WebCore
    
            * JavaScriptCore.exp:
            * JavaScriptCore.xcodeproj/project.pbxproj:
    
    WebCore:
    
    2008-03-28  Brady Eidson  <beidson@apple.com>
    
            Reviewed by Darin
    
            Using convertUTF16ToUTF8() from WTF, add a helper function that gives you a UTF8 SharedBuffer
            created from a String.
    
            * ForwardingHeaders/wtf/unicode/UTF8.h: Added.
            * platform/text/PlatformString.h:
            * platform/text/String.cpp:
            (WebCore::utf8Buffer):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31398 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    347c0326
UTF8.h 33 Bytes