ingo schuster escribió:
> 
> At 13:13 01/23/01, mickie wrote:
> >                                             Hi , All !!!
> >
> >         How can I make my Jetspeed work with resources presented in
> >other charsets than iso-8859-5.  The "content.defaultencoding" setting
> >doesn't work in JR.p in my configuration : Jetspeed1.3a +
> >Tomcat3.2.1+JDK1.3 ( ALL on Windows NT 4.0).
> 
> JetspeedJsLayout sets the encoding to UTF-8  -- hardwired. I understood
> that virtually all content can be delivered using utf-8 so that setting it
> hard was no problem. Is this correct?
> 

Things are not as simple. I'll try to explain the issues:

- Jetspeed sets the encoding to UTF-8 for all contents delivered. Unless
we have a way to specify the needed global encoding, it is a simple way
to guarantee that we can render any combination of portlets containing
information in several languages (imagine a chinese channel, a hebrew, a
german and a japanese in the same page). An alternative would be to have
a negotiation process for each page, and use the minimal needed
encoding, but it looks too complicated. The history winds blow in our
favor, as there is a strong movement towards unicode as the standard
character encoding.

- Jetspeed uses UTF-8 to encode all channels in the disk cache
(regardless of the encoding used for the original channel). This is
again for simplicity.

- Jetspeed uses the encoding configured in "content.defaultencoding" for
local resources for which the protocol does not indicate a given
encoding.


This is the theory. Now, when we delivered 1.3a1, the only example that
we have of multibyte channel has stopped working. I think there is a
problem related with cache, but I cannot find it (yet :). This channel
is http://www.javable.com/rus/rss.shtml. I'm looking at that problem,
and I'll report as soon as I find something.



> ingo.
> 
> >         Thanks in advance.
> >         Michael.
> >
> >
> >
> >--
> >--------------------------------------------------------------
> >To subscribe:        [EMAIL PROTECTED]
> >To unsubscribe:      [EMAIL PROTECTED]
> >Search: <http://www.mail-archive.com/[email protected]/>
> >List Help?:          [EMAIL PROTECTED]
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/[email protected]/>
> List Help?:          [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?:          [EMAIL PROTECTED]

Reply via email to