[Webkit-unassigned] [Bug 12759] New: local page loading: FrameView - (void)loadData:(NSData *)data MIMEType:(NSString *)MIMEType textEncodingName:(NSString *)encodingName baseURL:(NSURL *)URL should provid automatic encoding detection

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 12 22:46:23 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12759

           Summary: local page loading: FrameView - (void)loadData:(NSData
                    *)data MIMEType:(NSString *)MIMEType
                    textEncodingName:(NSString *)encodingName baseURL:(NSURL
                    *)URL should provid automatic encoding detection
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Enhancement
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: robburns1 at mac.com


I don't believe this works now, but setting the eoncding argument to nil or
pvoiding a separate method without the enoding would be a nice feature for
loading local files as data. Particularly with XHTML files where detection
should be more uniform than text files, it would be nice to leave the encoding
of loaded data up to WebKit.

Alternate method could be:
- (void)loadData:(NSData *)data MIMEType:(NSString *)MIMEType baseURL:(NSURL
*)URL

or even:
- (void)loadData:(NSData *)data baseURL:(NSURL *)URL

leaving that up to WebKit and some interaction with the OS (UTIs, filename
extensions, etc).


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list