[REVISIT] RE: UTF-8 and HTML Serializer.

2002-08-01 Thread Anand_Krishnan


Rossel,

Can you show how you did this. I think I have a similar problem, my
transformed html content gets displayed in 2-byte character and kind of is
giving me some hard time. Let me know.

Thank you,
Anand



   
 
  From:ROSSEL Olivier [EMAIL PROTECTED]  
 
 07/11/02 11:37 AM 
 
 Please respond to cocoon-users
 
   
 
   
 
  To:'[EMAIL PROTECTED]'   
 
[EMAIL PROTECTED]  
 
  cc:  
 
  Subject:RE: UTF-8 and HTML Serializer.   
 
   
 




 can you look at the 'source' XML by serializing it with xml
 serializer,
 instead of html?
 what does it show?

well i think i got my problem.
the request generator accepts a parameter to force the encoding of data
retrieved.
i misued it by setting the wrong charset.


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]





-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: [REVISIT] RE: UTF-8 and HTML Serializer.

2002-08-01 Thread ROSSEL Olivier

 Rossel,
 

  can you look at the 'source' XML by serializing it with xml
  serializer,
  instead of html?
  what does it show?
 
 well i think i got my problem.
 the request generator accepts a parameter to force the 
 encoding of data
 retrieved.
 i misued it by setting the wrong charset.


3 things to know.

there is a way to force the charset for the requestGenerator
(parameter is called form-encoding or form-charset, i think).

Mozilla sends request data using the accept-charset attribute
of the form

IE sends request data using the encoding of the HTML page
where the form is.

All can be seen in wikiland 0.5

You will see that the form is in an HTML with a UTF-8 charset.
That the form has the attribute accept-charset set to UTF-8.

And I think (but not sure) has the form-encoding/charset set to UTF-8.

http://lolive.net is the homepage of wikiLand.

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




UTF-8 and HTML Serializer.

2002-07-11 Thread ROSSEL Olivier

In C2.0.2, I use a pipeline that produce a XML encoded with UTF-8.
In this XML, I have one 'é' character that is coded as Ã* ...

After the HTML serializer , instead of having the 'é' again, I have
two characters coded as: Atilde;copy.

It seems that hte serializer realized missed the UTF-8 character and
considered
it as US-ASCII/ISO-8859-1.

Is it a bug in Xalan, or what?

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: UTF-8 and HTML Serializer.

2002-07-11 Thread ROSSEL Olivier

 In this XML, I have one 'é' character that is coded as Ã* ...
   ^
  Outlook ate my
copyright sign !!!

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: UTF-8 and HTML Serializer.

2002-07-11 Thread Volker Schneider

Hi,

does

encodingUTF-8/encoding

help with html-serializer?

Best regards
- Volker -


-Original Message-
From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 11. Juli 2002 17:00
To: '[EMAIL PROTECTED]'
Subject: UTF-8 and HTML Serializer.


In C2.0.2, I use a pipeline that produce a XML encoded with UTF-8.
In this XML, I have one 'é' character that is coded as Ã* ...

After the HTML serializer , instead of having the 'é' again, I have
two characters coded as: Atilde;copy.

It seems that hte serializer realized missed the UTF-8 character and
considered
it as US-ASCII/ISO-8859-1.

Is it a bug in Xalan, or what?

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: UTF-8 and HTML Serializer.

2002-07-11 Thread ROSSEL Olivier

where should i add this?
i tried to add it at map:serialize level.
but it did nothing:
map:serialize type=html
 encodingutf-8/encoding
/map:serialize

may be it must be done at declaration time, at map:components level?

 -Message d'origine-
 De: Volker Schneider [mailto:[EMAIL PROTECTED]]
 Date: jeudi 11 juillet 2002 17:08
 À: [EMAIL PROTECTED]
 Objet: RE: UTF-8 and HTML Serializer.
 
 
 Hi,
 
 does
 
 encodingUTF-8/encoding
 
 help with html-serializer?
 
 Best regards
 - Volker -
 
 
 -Original Message-
 From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]]
 Sent: Donnerstag, 11. Juli 2002 17:00
 To: '[EMAIL PROTECTED]'
 Subject: UTF-8 and HTML Serializer.
 
 
 In C2.0.2, I use a pipeline that produce a XML encoded with UTF-8.
 In this XML, I have one 'é' character that is coded as Ã* ...
 
 After the HTML serializer , instead of having the 'é' again, I have
 two characters coded as: Atilde;copy.
 
 It seems that hte serializer realized missed the UTF-8 character and
 considered
 it as US-ASCII/ISO-8859-1.
 
 Is it a bug in Xalan, or what?
 
 -
 Please check that your question  has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faq/index.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:   [EMAIL PROTECTED]
 
 
 -
 Please check that your question  has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faq/index.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:   [EMAIL PROTECTED]
 
 

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: UTF-8 and HTML Serializer.

2002-07-11 Thread ROSSEL Olivier

 where should i add this?
 i tried to add it at map:serialize level.
 but it did nothing:
 map:serialize type=html
  encodingutf-8/encoding
 /map:serialize
 
 may be it must be done at declaration time, at map:components level?

even at declaration time, it seems not to work.

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: UTF-8 and HTML Serializer.

2002-07-11 Thread Argyn Kuketayev

can you look at the 'source' XML by serializing it with xml serializer,
instead of html?
what does it show?


 -Original Message-
 From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, July 11, 2002 11:00 AM
 To: '[EMAIL PROTECTED]'
 Subject: UTF-8 and HTML Serializer.
 
 
 In C2.0.2, I use a pipeline that produce a XML encoded with UTF-8.
 In this XML, I have one 'é' character that is coded as Ã* ...
 
 After the HTML serializer , instead of having the 'é' again, I have
 two characters coded as: Atilde;copy.
 
 It seems that hte serializer realized missed the UTF-8 character and
 considered
 it as US-ASCII/ISO-8859-1.
 
 Is it a bug in Xalan, or what?
 
 -
 Please check that your question  has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faq/index.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:   [EMAIL PROTECTED]
 

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: UTF-8 and HTML Serializer.

2002-07-11 Thread ROSSEL Olivier

 can you look at the 'source' XML by serializing it with xml 
 serializer,
 instead of html?
 what does it show?

well i think i got my problem.
the request generator accepts a parameter to force the encoding of data
retrieved.
i misued it by setting the wrong charset.


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: UTF-8 and HTML Serializer.

2002-07-11 Thread Marc LeMaire

Hi all,
I'm new here and learning the ropes with cocoon.

Concerning the accented characters, I had the same trouble. But I used a 
docToXml transformer and now everything is fine. I played aroud with 
cocoon yesterday with french text.

Next step will be i18n.

I used Upcast, available at http://www.infinity-loop.de
Single licence available, but there's others software available, none 
Open Source.

ROSSEL Olivier wrote:

where should i add this?
i tried to add it at map:serialize level.
but it did nothing:
map:serialize type=html
 encodingutf-8/encoding
/map:serialize

may be it must be done at declaration time, at map:components level?



even at declaration time, it seems not to work.

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


  



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]