Re: Problem with russian symbols

On Sat, 18 Sep 2004 13:33:16 +0500
Vlad Bortin <VF.Bortin@vaz.ru> wrote:

> 
> Hello, Amaya team.
> 
> According to the XML specification indicate:
> <?xml version="1.0" encoding="windows-1251"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>
>   <meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
> ..
> ..
> <body xml:lang="en" lang="ru"
> enter Russian symbols, save
> open file in Amaya, russian symbols get not expected and unnecessary the right inclination
> open this file in MSIE 6 sp1, ... russian symbols haven't inclination. It's OK.
> Russian symbols receive the right inclination in all elements of page: H1-H6, text of links, element "em", excepting
> the text in an element "p" and in those places where it is stipulated
> by rules CSS. Change value attribute encoding and charset on iso-8859-1, russian symbols remain. Now, in Amaya and
> in MSIE russian symbol show correct, without right inclination.
> In what a problem?
> 
> -- 
> Best regards,
>  Vlad

A document can only use one unique charset.
The document encoding "charset=windows-1251" says that character codes must be interpreted as 
windows-1251 codes. If you want to change to iso-8859-1 you need to re-encode your whole document.
The "Save As" command of Amaya allows you to re-encode your document.

You have to pay attention that the charset defined by the HTTP server has the highest priority.
Even if your document specifies windows-1251, the document can be read with another charset
(see File>Document Information).

Regards
     Irene.
-----
Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France

Received on Wednesday, 22 September 2004 07:56:46 UTC