DO NOT REPLY [Bug 27517] - The pageEncoding attribute is not used, when charset value is set.

2004-06-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=27517.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27517

The pageEncoding attribute is not used, when charset value is set.

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]



--- Additional Comments From [EMAIL PROTECTED]  2004-06-03 16:43 ---
*** Bug 29342 has been marked as a duplicate of this bug. ***

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



DO NOT REPLY [Bug 27517] - The pageEncoding attribute is not used, when charset value is set.

2004-03-09 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=27517.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27517

The pageEncoding attribute is not used, when charset value is set.





--- Additional Comments From [EMAIL PROTECTED]  2004-03-09 10:26 ---
Thanks for the quick fix.

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



DO NOT REPLY [Bug 27517] - The pageEncoding attribute is not used, when charset value is set.

2004-03-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=27517.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27517

The pageEncoding attribute is not used, when charset value is set.

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2004-03-08 15:24 ---
I don't agree with that interpretation.

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



DO NOT REPLY [Bug 27517] - The pageEncoding attribute is not used, when charset value is set.

2004-03-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=27517.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27517

The pageEncoding attribute is not used, when charset value is set.





--- Additional Comments From [EMAIL PROTECTED]  2004-03-08 15:33 ---
What do you exectly think?

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



DO NOT REPLY [Bug 27517] - The pageEncoding attribute is not used, when charset value is set.

2004-03-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=27517.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27517

The pageEncoding attribute is not used, when charset value is set.

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INVALID |



--- Additional Comments From [EMAIL PROTECTED]  2004-03-08 15:42 ---
There is part of the specification:

JSP.4.1
...
For JSP pages in standard syntax, the page character encoding is determined from
the following sources:
-A JSP configuration element page-encoding value whose URL pattern matches the page.
-The pageEncoding attribute of the page directive of the page. It is a
translation- time error to name different encodings in the pageEncoding
attribute of the page directive of a JSP page and in a JSP configuration element
whose URL pattern matches the page.
- The charset value of the contentType attribute of the page directive. This is
used to determine the page character encoding if neither a JSP configuration
element page-encoding nor the pageEncoding attribute are provided.
- If none of the above is provided, ISO-8859-1 is used as the default character
encoding.




Appendix JSP.D
Page Encoding Detection


3. If the file is a JSP page in standard syntax, use these steps. 

a. Check whether there is a JSP configuration element page-encoding whose URL
pattern matches this file. 

b. Read the file using the initial encoding and search for a pageEncoding
attribute in a page declaration. The specification requires the attribute to be
found only if it is not preceded by non-ASCII characters, so simplified
implementations are allowed. 

c. Report an error if there are a page-encoding configuration element whose
URL pattern matches this file and a pageEncoding attribute, and the two name
different encodings. 

d. If there is a page-encoding configuration element whose URL pattern matches
this file, the page character encoding is the one named in this element. 

e. Otherwise, if there is a pageEncoding attribute, the page character encoding
is the one named in this attribute. 

f. Otherwise, read the file using the initial encoding and search for a charset
value within a contentType attribute in a page declaration. If it exists, the
page character encoding is the one named in this charset value. The
specification requires the attribute to be found only if it is not preceded by
non-ASCII characters, so simplified implementations are allowed. 

g. Otherwise, the page character encoding is ISO-8859-1.

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



DO NOT REPLY [Bug 27517] - The pageEncoding attribute is not used, when charset value is set.

2004-03-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=27517.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27517

The pageEncoding attribute is not used, when charset value is set.

[EMAIL PROTECTED] changed:

   What|Removed |Added

   Severity|Major   |Minor



--- Additional Comments From [EMAIL PROTECTED]  2004-03-08 16:05 ---
I think that:
- you have way too much time on your hands
- charset and pageEncoding define the same thing, so this is at best an issue of
priority

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



DO NOT REPLY [Bug 27517] - The pageEncoding attribute is not used, when charset value is set.

2004-03-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=27517.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27517

The pageEncoding attribute is not used, when charset value is set.

[EMAIL PROTECTED] changed:

   What|Removed |Added

   Severity|Minor   |Major



--- Additional Comments From [EMAIL PROTECTED]  2004-03-08 17:19 ---
I don't think so, that pageEncoding and charset define the same thing.

According to chapter JSP.4.1 Page Character Encoding the pageEncoding is for
encoding the page file itself. And according to chapter JSP.4.2 Response
Character Encoding the charset encoding is used for responds. When both
encoding are defined, then they are used for different things.

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



DO NOT REPLY [Bug 27517] - The pageEncoding attribute is not used, when charset value is set.

2004-03-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=27517.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27517

The pageEncoding attribute is not used, when charset value is set.

[EMAIL PROTECTED] changed:

   What|Removed |Added

   Severity|Major   |Minor



--- Additional Comments From [EMAIL PROTECTED]  2004-03-08 17:39 ---
Yes, of course. We have a disagreement then (sec 1.10.1). If nobody fixes this
horrible bug for a while, then I will resolve it appropriately.

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



DO NOT REPLY [Bug 27517] - The pageEncoding attribute is not used, when charset value is set.

2004-03-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=27517.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27517

The pageEncoding attribute is not used, when charset value is set.





--- Additional Comments From [EMAIL PROTECTED]  2004-03-08 17:55 ---
Hi Petr,

you're right, this is a bug. I'll commit a patch shortly.

For the time being, as a workaround, you may want to collapse the 2 page
directives into a single page directive, like this:

[EMAIL PROTECTED] contentType=text/html;charset=ISO-8859-2 pageEncoding=UTF-8%

Jan

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



DO NOT REPLY [Bug 27517] - The pageEncoding attribute is not used, when charset value is set.

2004-03-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=27517.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27517

The pageEncoding attribute is not used, when charset value is set.





--- Additional Comments From [EMAIL PROTECTED]  2004-03-08 18:27 ---
Hi Jan,

yes, it's workaround, but people can have some problems during saving or opening
jsp files in the jsp editor in NetBeans IDE. We use jasper-compiler.jar for
obtaining information about a jsp and the encoding is one of them. I'm
appreciate the  promiss of  fixing it.

thanks

Petr

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



DO NOT REPLY [Bug 27517] - The pageEncoding attribute is not used, when charset value is set.

2004-03-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=27517.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27517

The pageEncoding attribute is not used, when charset value is set.

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED

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