Opened 19 months ago
Closed 19 months ago
#18424 closed bug (fixed)
PoorMan Problem with charset!
Reported by: | mrfx07 | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta5 |
Component: | Applications/PoorMan | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Problem is in cyrilic symbols
I create simple html page in Pe Editor, and save as type text/html with this contents:
<html> <header> <meta charset="utf-8"> <title>SomeTitle</title> </header> <body> <h1>Test Page</h1> <p>Добро Пожаловать!</p> </body> </html>
If I open this html page directly in WebPositive all looks fine, but if I start web server via PoorMan and open my local ip address, i get page with wrong symbols instead text in "p" tag (like if make page without "meta" tag to tell use utf-8)
Change History (3)
comment:1 by , 19 months ago
comment:2 by , 19 months ago
Component: | - General → Applications/PoorMan |
---|---|
Keywords: | poorman html charset removed |
Neither of those fixes the problem. The real issue is that PoorMan specifies a charset in the HTTP headers:
Content-Type: text/html; charset=iso-8859-1
I think WebKit ignores <meta charset>
when this is present. Probably PoorMan should not specify a charset at all.
comment:3 by , 19 months ago
Milestone: | Unscheduled → R1/beta5 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
That proved impossible, but I changed the character set default to UTF-8 in hrev57038.
It must be
<head>
, not<header>
. And maybeUTF
in capitals helps?