Bug 17700 - Webkit refuses to open plain/text files with non-ASCII characters inside browser window
Summary: Webkit refuses to open plain/text files with non-ASCII characters inside brow...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
Keywords: HasReduction, PlatformOnly
Depends on:
Reported: 2008-03-06 17:12 PST by jasneet
Modified: 2008-04-03 06:10 PDT (History)
4 users (show)

See Also:

reduction (327 bytes, text/html)
2008-03-06 17:13 PST, jasneet
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description jasneet 2008-03-06 17:12:15 PST
I Steps:
Go to
the attached reduction
Click on first link and observe the behavior
Click on second link and observe the behavior.

II Issue:
clicking the first link - the file is downloaded.
clicking the second link - the file opens directly in browser.

III Conclusion: The behavior is inconsistent. If the txt file is saved as ANSI with non-ASCII characters; Safari downloads the file. If the text file is saved as UTF8 or saved as ANSI with only English content; Safari opens the file directly in the browser.

IV Other browsers:
IE7: ok
FF: ok
Opera: not ok

V Nightly tested: 30628
Comment 1 jasneet 2008-03-06 17:13:00 PST
Created attachment 19577 [details]
Comment 2 Robert Blaut 2008-03-06 23:54:45 PST
Confirmed, but only on Windows. Webkit on Mac OS X 10.5 works as expected - opens both text files inside browser window.
Comment 3 Eric Seidel (no email) 2008-04-02 22:28:24 PDT
I seem to hit this all the time.  It's really annoying.