Bug 14417

Summary: WebDataSource: encodingName should return encoding used to render page
Product: WebKit Reporter: Wade Cosgrove <wade>
Component: WebKit APIAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED ---    
Severity: Normal CC: ap
Priority: P2 Keywords: InRadar
Version: 419.x   
Hardware: Mac   
OS: OS X 10.4   

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.