RESOLVED WONTFIX 12759
local page loading: FrameView - (void)loadData:(NSData *)data MIMEType:(NSString *)MIMEType textEncodingName:(NSString *)encodingName baseURL:(NSURL *)URL should provid automatic encoding detection
https://bugs.webkit.org/show_bug.cgi?id=12759
Summary local page loading: FrameView - (void)loadData:(NSData *)data MIMEType:(NSStr...
Robert Burns
Reported 2007-02-12 22:46:22 PST
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).
Attachments
Alexey Proskuryakov
Comment 1 2007-02-13 03:11:36 PST
I haven't yet verified if this still doesn't work in TOT, but it sounds like a good idea to make it work if it doesn't. Then, someone at Apple would need to check if this can become an officially documented feature - adding a NeedsRadar keyword.
Robert Burns
Comment 2 2007-02-13 15:21:59 PST
radar at: 4995440
Sam Sneddon [:gsnedders]
Comment 3 2022-09-16 14:53:42 PDT
From that Radar: > Verify / Not To Be Fixed. Please adopt the Modern WebKit APIs (WKWebVew). If this request is still valid to the Modern WebKit framework API, please file a new Radar.
Note You need to log in before you can comment on or make changes to this bug.