[SL] Re: Character encoding problem
- From: "Mufit Eribol" <meribol@xxxxxxxxxxx>
- To: <sql-ledger-users@xxxxxxxxxxxxxx>
- Date: Sat, 31 May 2003 14:01:46 +0300
> > BTW, there is no a start "<html>" tag at the beginning of the html codes
> > generated by sql-ledger scripts. Could it be the cause of the problem?
>
>
> Edit Form.pm and remove the DOCTYPE line
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
>
> Maybe the browser gets confused because the language and character
> encoding from the meta tag does not match.
>
I edited Form.pm in many ways just to try:
1. Removed DOCTYPE line.
2. Added <html> at line 221.
3. Added both DOCTYPE and <html>
Unfortunately problem is still there. I also tested using the latest Opera,
and received the same behaviour. So, this is not a browser specific problem.
If I de-select "automatic selection" in Opera and force the character
encoding say to UTF-8, the output is correct. Problem is that browsers
cannot understand character encoding despite the advertised correct charset
value in the META tag.
I feel that something is missing/wrong in the generated html codes, but I am
no expert here. I put the html codes of the first page below for your
convenience.
Regards,
M. Eribol
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<head>
<title>SQL-Ledger Versiyon 2.0.6 - Mufit Eribol - ofis</title>
<LINK REL="stylesheet" HREF="css/sql-ledger.css" TYPE="text/css"
TITLE="SQL-Ledger style sheet">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
</head>
<FRAMESET COLS="135,*" BORDER="1">
<FRAME NAME="acc_menu"
SRC="menu.pl?login=me&password=meW7Rt0osxN6s&action=acc_menu&path=bin/mozill
a">
<FRAME NAME="main_window"
SRC="login.pl?login=me&password=meW7Rt0osxN6s&action=company_logo&path=bin/m
ozilla">
</FRAMESET>
</BODY>
</HTML>
- References:
- [SL] Re: Character encoding problem
- From: Dieter Simader
Other related posts:
- » [SL] Character encoding problem
- » [SL] Re: Character encoding problem
- » [SL] Re: Character encoding problem
- » [SL] Re: Character encoding problem
- » [SL] Re: Character encoding problem
- [SL] Re: Character encoding problem
- From: Dieter Simader