> > From: yuryx [mailto:[EMAIL PROTECTED]]
> >
> > Thanx for ideas ,Vadim.
> > But I can't undestand how declare JSP encoding.
>
> Try to read JSP specification.

The correct declaration is:

<%@ page language="java" import="java.text.SimpleDateFormat,java.util.*"
pageEncoding="KOI8-R"%><?xml version='1.0' encoding="KOI8-R"?>

Note, that your XML to be parsed you should put <?xml ...?> declaration on
the same line as <%@ page ...>, otherwise an empty line is added at the
beginning of the page and this causes parsing error.

Regards,
    Konstantin

P.S. I've already sent the corrected file off-list.

>
> Vadim
>
>
> > instead of <%out.println("<?xml version='1.0' encoding='koi8-r'?>");%>
> I try
> > <?xml version='1.0' encoding='KOI8-R'?> in sample.jsp
> > but again it doesn't work :(
> > Yury
> >
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.html>

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

Reply via email to