[opencms-dev] Some problems with RC2 - BUGS?
Dimitri Bougoulias
D.Bougoulias at ieee.org
Mon Feb 10 07:38:30 CET 2003
Environment:
Sun Java 1.4.1_01 (under windows XP and SuSE 8.1 Linux)
Browser IE 6.0.2800.1106.xpsp1
Tomcat 4.1.18
MySQL 3.23.5x
OpenCMS 5RC2
a) Tried to set file.encoding (and OpenCMS content encoding) to Cp1253
(Windows Greek encoding - almost identical to ISO-8859-7, except for a
couple of chars)
Setup run OK but when I tied to enter the sample index page -> exception
(resource broker... cannot connect to database etc.)
Also message in tomcat console that Cp1253 is unknown encoding.
"Cp1253" - case sensitive - is valid as a file.encoding and as character
encoding. The only reason I can suspect is that is not a valid content
encoding since for web it is called "win1253".
b) I set file.encoding and content encoding to ISO-8859-7 (ISO-Greek) and it
worked fine.
I create a new (empty template) page with default (ISO-8859-7) encoding and
I try to browse (either from off-line or on-line, or even statically
exported) I get (source) the following HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-7"getEncoding"/><![CDATA[">
<title>test</title>
<meta name="description" content="test">
........................................
........................................
As you see, something is wrong after encoding. (Some XML debris... :-)
Same has happened in RC1 with UTF-8 file.encoding and explicitely setting
page's content encoding parameter to ISO-8859-7.
*** Netscape 7 is stopping at this error and doesnot even display the rest
of the page....
The example pages of opencms that have content encoding ISO-8859-7 do not
have the same problem.
If I try to change the empty template to the "welcome" template then it does
not have the same problem but cannot display Greek (turn into questionmarks)
since the "welcome" template forces the content encoding to become
ISO-8859-1.
Then I tried "empty template" again but this time with page's content
encoding to ISO-8859-1 - still the same error. It seems that it has to do
with the empty template.
c) I cannot login to the workspace using Netscape 7. It displays the login
screen but after I press the login button (After entering login info) it
stays in the login screen.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20030210/9042b870/attachment.htm>
More information about the opencms-dev
mailing list