Closed
Bug 1018050
Opened 12 years ago
Closed 9 years ago
PHP errors in comments push character encoding declaration beyond the first 1024 bytes when searching on freearabicdictionary.com
Categories
(Web Compatibility :: Site Reports, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: Filip013, Unassigned)
References
(
URL
)
Details
(Whiteboard: [contactready] [php] [http])
Attachments
(1 file)
|
141.62 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0 (Beta/Release)
Build ID: 20140529113510
Steps to reproduce:
Go to http://www.freearabicdictionary.com/ and type a word in Arabic, for example شَجَرَة
Actual results:
Firefox detects Western encoding and the text is unreadable.
Expected results:
The correct encoding is Unicode and manually setting it to Unicode makes the page readable. Internet Explorer 11 correctly detects the encoding.
| Reporter | ||
Updated•12 years ago
|
URL: http://www.freearabicdictionary.com/
Comment 1•12 years ago
|
||
Henri, you seem like the most likely person to know more about what's going on here, can you help? :-)
To be clear, STR:
1. Open http://www.freearabicdictionary.com/
2. Copy-paste the arabic from comment #0
3. Click Search
Oddly enough, closing the tab and reopening it (ctrl/cmd-shift-t) makes the issue go away.
Component: Untriaged → General
Flags: needinfo?(hsivonen)
Product: Firefox → Core
Comment 2•12 years ago
|
||
This site dumps PHP errors in a comment that precedes the HTML markup. When performing a search, the PHP errors are numerous enough that the character encoding declaration is pushed beyond the first 1024 bytes of the document. Since the search query is performed using HTTP POST, Firefox won't reload the page when discovering the character encoding declaration later in the document.
The site should get rid of its PHP errors (or declare the encoding on the HTTP layer to make the PHP errors not matter).
Assignee: nobody → english-us
Component: General → English US
Flags: needinfo?(hsivonen)
Product: Core → Tech Evangelism
Version: 29 Branch → Trunk
Updated•12 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Firefox incorrectly detects character encoding. → PHP errors in comments push character encoding declaration beyond the first 1024 bytes when searching on freearabicdictionary.com
Updated•12 years ago
|
Assignee: english-us → nobody
Component: English US → Desktop
Updated•11 years ago
|
Whiteboard: [contactready] [php] [http]
Comment 3•9 years ago
|
||
AFAICT, this has been fixed by the site.
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
| Assignee | ||
Updated•7 years ago
|
Product: Tech Evangelism → Web Compatibility
You need to log in
before you can comment on or make changes to this bug.
Description
•