Bug 14417 - WebDataSource: encodingName should return encoding used to render page
Summary: WebDataSource: encodingName should return encoding used to render page
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit API (show other bugs)
Version: 419.x
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2007-06-26 12:22 PDT by Wade Cosgrove
Modified: 2008-01-01 05:27 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wade Cosgrove 2007-06-26 12:22:08 PDT
If I use the encodingName method via Obj-C it returns nil if the encodingName hasn't been expressly set on the WebView. It would be nice if it returned the encoding that WebKit used to render the page instead of nil.
Comment 1 David Kilzer (:ddkilzer) 2007-07-05 21:06:34 PDT
<rdar://problem/5316261>
Comment 2 Alexey Proskuryakov 2007-07-06 13:44:02 PDT
See also: <rdar://problem/3529874>.
Comment 3 Alexey Proskuryakov 2008-01-01 05:27:03 PST
FWIW, the input encoding is available from HTML (and XML) DOM as document.inputEncoding.