ODP: [opencms-dev] Solution for problem with national characters i n properties (eg. navtext)
Szczesniewski, Zbigniew
Zbigniew.Szczesniewski at datacom.pl
Sun Feb 29 13:32:01 CET 2004
Probably it depends also on version of Internet Explorer (how does it send
data using get method).
Could you look inside of source code of navtext editor if there is form
method=post?
Greetings
Zbyszek
_____
Od: Vlachogiannis Evangelos [mailto:evlach at aegean.gr]
Wysłano: So 2004-02-28 13:35
Do: 'opencms-dev at opencms.org'
Temat: RE: [opencms-dev] Solution for problem with national characters i n
properties (eg. navtext)
Hi all,
I have actually installed opencms 5.1 in a linux machine with greek encoding
and all opencms properties are working fine without changing any template.
It works either using utf-8 or iso...7
-----Original Message-----
From: Szczesniewski, Zbigniew [mailto:Zbigniew.Szczesniewski at datacom.pl]
Sent: Friday, February 27, 2004 6:53 PM
To: opencms-dev at opencms.org
Subject: [opencms-dev] Solution for problem with national characters in
properties (eg. navtext)
Hello,
I had big trouble with national characters in navtext (in polish and russian
language). I used UTF-8 default encoding, but nothing helps.
I've found a bug and its solution.
Let's see what we have inside of template which is used for edition of
navtext, which is placed in file: /system/workplace/templates/chnav
<?xml version="1.0" encoding="ISO-8859-1"?>
<WORKPLACE>
<TEMPLATE>
<![CDATA[
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=]]><METHOD
name="getEncoding"/><![CDATA[">
<link rel=stylesheet type="text/css" href="]]><method
name="resourcesUri">format.css</method><![CDATA[">
</head>
<body>
<form name="navigation" >
<table border=2 cellspacing=0 cellpadding=0 width=430px align=center>
<tr>
<td>
We have here tag <FORM> without method atribute, what means: send data with
method GET. Web browser urlencodes data from form and if it is in UTF-8,
changes them! Solution is simple. Insert into tag <FORM> attribute
method=post.
Corrected tag looks like this:
<form name="navigation" method=post>
Now it is enough to correct it in all places where this problem appears and
all troubles dissapear.
Greetings
Zbigniew Szcześniewski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 8658 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040229/f375602d/attachment.bin>
More information about the opencms-dev
mailing list