You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2016/12/17 10:56:33 UTC
svn commit: r1774733 - in /tomcat/trunk/test/webapp/jsp/encoding:
bom-none-prolog-none.jspx bom-none-prolog-utf16be.jspx
bom-none-prolog-utf16le.jspx bom-none-prolog-utf8.jspx
Author: markt
Date: Sat Dec 17 10:56:33 2016
New Revision: 1774733
URL: http://svn.apache.org/viewvc?rev=1774733&view=rev
Log:
Fix line-endings for files that have no BOM and declare various encodings.
They are actually all ISO-8859-1 (so UTF-8 works as well)
Modified:
tomcat/trunk/test/webapp/jsp/encoding/bom-none-prolog-none.jspx
tomcat/trunk/test/webapp/jsp/encoding/bom-none-prolog-utf16be.jspx
tomcat/trunk/test/webapp/jsp/encoding/bom-none-prolog-utf16le.jspx
tomcat/trunk/test/webapp/jsp/encoding/bom-none-prolog-utf8.jspx
Modified: tomcat/trunk/test/webapp/jsp/encoding/bom-none-prolog-none.jspx
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/webapp/jsp/encoding/bom-none-prolog-none.jspx?rev=1774733&r1=1774732&r2=1774733&view=diff
==============================================================================
--- tomcat/trunk/test/webapp/jsp/encoding/bom-none-prolog-none.jspx [UTF-8] (original)
+++ tomcat/trunk/test/webapp/jsp/encoding/bom-none-prolog-none.jspx [UTF-8] Sat Dec 17 10:56:33 2016
@@ -14,8 +14,8 @@
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
--->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.3">
- <jsp:directive.page contentType="text/plain" />
- <jsp:text>OK</jsp:text>
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.3">
+ <jsp:directive.page contentType="text/plain" />
+ <jsp:text>OK</jsp:text>
</jsp:root>
\ No newline at end of file
Modified: tomcat/trunk/test/webapp/jsp/encoding/bom-none-prolog-utf16be.jspx
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/webapp/jsp/encoding/bom-none-prolog-utf16be.jspx?rev=1774733&r1=1774732&r2=1774733&view=diff
==============================================================================
--- tomcat/trunk/test/webapp/jsp/encoding/bom-none-prolog-utf16be.jspx [UTF-16BE] (original)
+++ tomcat/trunk/test/webapp/jsp/encoding/bom-none-prolog-utf16be.jspx [UTF-16BE] Sat Dec 17 10:56:33 2016
@@ -1,21 +1 @@
-<?xml version="1.0" encoding="UTF-16BE" ?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.3">
- <jsp:directive.page contentType="text/plain" />
- <jsp:text>OK</jsp:text>
-</jsp:root>
\ No newline at end of file
+\u3c00\u3f00\u7800\u6d00\u6c00\u2000\u7600\u6500\u7200\u7300\u6900\u6f00\u6e00\u3d00\u2200\u3100\u2e00\u3000\u2200\u2000\u6500\u6e00\u6300\u6f00\u6400\u6900\u6e00\u6700\u3d00\u2200\u5500\u5400\u4600\u2d00\u3100\u3600\u4200\u4500\u2200\u2000\u3f00\u3e00\u0d00\u0a00\u3c00\u2100\u2d00\u2d00\u0d00\u0a00\u2000\u2000\u4c00\u6900\u6300\u6500\u6e00\u7300\u6500\u6400\u2000\u7400\u6f00\u2000\u7400\u6800\u6500\u2000\u4100\u7000\u6100\u6300\u6800\u6500\u2000\u5300\u6f00\u6600\u7400\u7700\u6100\u7200\u6500\u2000\u4600\u6f00\u7500\u6e00\u6400\u6100\u7400\u6900\u6f00\u6e00\u2000\u2800\u4100\u5300\u4600\u2900\u2000\u7500\u6e00\u6400\u6500\u7200\u2000\u6f00\u6e00\u6500\u2000\u6f00\u7200\u2000\u6d00\u6f00\u7200\u6500\u0d00\u0a00\u2000\u2000\u6300\u6f00\u6e00\u7400\u7200\u6900\u6200\u7500\u7400\u6f00\u7200\u2000\u6c00\u6900\u6300\u6500\u6e00\u7300\u6500\u2000\u6100\u6700\u7200\u6500\u6500\u6d00\u6500\u6e00\u7400\u7300\u2e00\u2000\u2000\u5300\u6500\u6500\u2000\u7400\u6800\u6500\u2000\u4e00\u4f00\u5400\u4900\u4300\u4500\u2000\u6600\u6900\u6c00\u6500\u2000\u6400\u6900\u7300\u7400\u7200\u6900\u6200\u7500\u7400\u6500\u6400\u2000\u7700\u6900\u7400\u6800\u0d00\u0a00\u2000\u2000\u7400\u6800\u6900\u7300\u2000\u7700\u6f00\u7200\u6b00\u2000\u6600\u6f00\u7200\u2000\u6100\u6400\u6400\u6900\u7400\u6900\u6f00\u6e00\u6100\u6c00\u2000\u6900\u6e00\u6600\u6f00\u7200\u6d00\u6100\u7400\u6900\u6f00\u6e00\u2000\u7200\u6500\u6700\u6100\u7200\u6400\u6900\u6e00\u6700\u2000\u6300\u6f00\u7000\u7900\u7200\u6900\u6700\u6800\u7400\u2000\u6f00\u7700\u6e00\u6500\u7200\u7300\u6800\u6900\u7000\u2e00\u0d00\u0a00\u2000\u2000\u5400\u6800\u6500\u2000\u4100\u5300\u4600\u2000\u6c00\u6900\u6300\u6500\u6e00\u7300\u6500\u7300\u2000\u7400\u6800\u6900\u7300\u2000\u6600\u6900\u6c00\u6500\u2000\u7400\u6f00\u2000\u5900\u6f00\u7500\u2000\u7500\u6e00\u6400\u6500\u7200\u2000\u7400\u6800\u6500\u2000\u4100\u7000\u6100\u6300\u6800\u6500\u2000\u4c00\u6900\u6300\u6500\u6e00\u7300\u6500\u2c00\u2000\u5600\u6500\u7200\u7300\u6900\u6f00
\u2000\u3200\u2e00\u3000\u0d00\u0a00\u2000\u2000\u2800\u7400\u6800\u6500\u2000\u2200\u4c00\u6900\u6300\u6500\u6e00\u7300\u6500\u2200\u2900\u3b00\u2000\u7900\u6f00\u7500\u2000\u6d00\u6100\u7900\u2000\u6e00\u6f00\u7400\u2000\u7500\u7300\u6500\u2000\u7400\u6800\u6900\u7300\u2000\u6600\u6900\u6c00\u6500\u2000\u6500\u7800\u6300\u6500\u7000\u7400\u2000\u6900\u6e00\u2000\u6300\u6f00\u6d00\u7000\u6c00\u6900\u6100\u6e00\u6300\u6500\u2000\u7700\u6900\u7400\u6800\u0d00\u0a00\u2000\u2000\u7400\u6800\u6500\u2000\u4c00\u6900\u6300\u6500\u6e00\u7300\u6500\u2e00\u2000\u2000\u5900\u6f00\u7500\u2000\u6d00\u6100\u7900\u2000\u6f00\u6200\u7400\u6100\u6900\u6e00\u2000\u6100\u2000\u6300\u6f00\u7000\u7900\u2000\u6f00\u6600\u2000\u7400\u6800\u6500\u2000\u4c00\u6900\u6300\u6500\u6e00\u7300\u6500\u2000\u6100\u7400\u0d00\u0a00\u0d00\u0a00\u2000\u2000\u2000\u2000\u2000\u2000\u6800\u7400\u7400\u7000\u3a00\u2f00\u2f00\u7700\u7700\u7700\u2e00\u6100\u7000\u6100\u6300\u6800\u6500\u2e00\u6f00\u7200\u6700\u2f00\u6c00\u6900\u6300\u6500\u6e00\u7300\u6500\u7300\u2f00\u4c00\u4900\u4300\u4500\u4e00\u5300\u4500\u2d00\u3200\u2e00\u3000\u0d00\u0a00\u0d00\u0a00\u2000\u2000\u5500\u6e00\u6c00\u6500\u7300\u7300\u2000\u7200\u6500\u7100\u7500\u6900\u7200\u6500\u6400\u2000\u6200\u7900\u2000\u6100\u7000\u7000\u6c00\u6900\u6300\u6100\u6200\u6c00\u6500\u2000\u6c00\u6100\u7700\u2000\u6f00\u7200\u2000\u6100\u6700\u7200\u6500\u6500\u6400\u2000\u7400\u6f00\u2000\u6900\u6e00\u2000\u7700\u7200\u6900\u7400\u6900\u6e00\u6700\u2c00\u2000\u7300\u6f00\u6600\u7400\u7700\u6100\u7200\u6500\u0d00\u0a00\u2000\u2000\u6400\u6900\u7300\u7400\u7200\u6900\u6200\u7500\u7400\u6500\u6400\u2000\u7500\u6e00\u6400\u6500\u7200\u2000\u7400\u6800\u6500\u2000\u4c00\u6900\u6300\u6500\u6e00\u7300\u6500\u2000\u6900\u7300\u2000\u6400\u6900\u7300\u7400\u7200\u6900\u6200\u7500\u7400\u6500\u6400\u2000\u6f00\u6e00\u2000\u6100\u6e00\u2000\u2200\u4100\u5300\u2000\u4900\u5300\u2200\u2000\u4200\u4100\u5300\u4900\u5300\u2c00\u0d00\u0a00\u2000\u2000
\u4900\u5400\u4800\u4f00\u5500\u5400\u2000\u5700\u4100\u5200\u5200\u4100\u4e00\u5400\u4900\u4500\u5300\u2000\u4f00\u5200\u2000\u4300\u4f00\u4e00\u4400\u4900\u5400\u4900\u4f00\u4e00\u5300\u2000\u4f00\u4600\u2000\u4100\u4e00\u5900\u2000\u4b00\u4900\u4e00\u4400\u2c00\u2000\u6500\u6900\u7400\u6800\u6500\u7200\u2000\u6500\u7800\u7000\u7200\u6500\u7300\u7300\u2000\u6f00\u7200\u2000\u6900\u6d00\u7000\u6c00\u6900\u6500\u6400\u2e00\u0d00\u0a00\u2000\u2000\u5300\u6500\u6500\u2000\u7400\u6800\u6500\u2000\u4c00\u6900\u6300\u6500\u6e00\u7300\u6500\u2000\u6600\u6f00\u7200\u2000\u7400\u6800\u6500\u2000\u7300\u7000\u6500\u6300\u6900\u6600\u6900\u6300\u2000\u6c00\u6100\u6e00\u6700\u7500\u6100\u6700\u6500\u2000\u6700\u6f00\u7600\u6500\u7200\u6e00\u6900\u6e00\u6700\u2000\u7000\u6500\u7200\u6d00\u6900\u7300\u7300\u6900\u6f00\u6e00\u7300\u2000\u6100\u6e00\u6400\u0d00\u0a00\u2000\u2000\u6c00\u6900\u6d00\u6900\u7400\u6100\u7400\u6900\u6f00\u6e00\u7300\u2000\u7500\u6e00\u6400\u6500\u7200\u2000\u7400\u6800\u6500\u2000\u4c00\u6900\u6300\u6500\u6e00\u7300\u6500\u2e00\u0d00\u0a00\u2d00\u2d00\u3e00\u0d00\u0a00\u3c00\u6a00\u7300\u7000\u3a00\u7200\u6f00\u6f00\u7400\u2000\u7800\u6d00\u6c00\u6e00\u7300\u3a00\u6a00\u7300\u7000\u3d00\u2200\u6800\u7400\u7400\u7000\u3a00\u2f00\u2f00\u6a00\u6100\u7600\u6100\u2e00\u7300\u7500\u6e00\u2e00\u6300\u6f00\u6d00\u2f00\u4a00\u5300\u5000\u2f00\u5000\u6100\u6700\u6500\u2200\u2000\u7600\u6500\u7200\u7300\u6900\u6f00\u6e00\u3d00\u2200\u3200\u2e00\u3300\u2200\u3e00\u0d00\u0a00\u2000\u2000\u3c00\u6a00\u7300\u7000\u3a00\u6400\u6900\u7200\u6500\u6300\u7400\u6900\u7600\u6500\u2e00\u7000\u6100\u6700\u6500\u2000\u6300\u6f00\u6e00\u7400\u6500\u6e00\u7400\u5400\u7900\u7000\u6500\u3d00\u2200\u7400\u6500\u7800\u7400\u2f00\u7000\u6c00\u6100\u6900\u6e00\u2200\u2000\u2f00\u3e00\u0d00\u0a00\u2000\u2000\u3c00\u6a00\u7300\u7000\u3a00\u7400\u6500\u7800\u7400\u3e00\u4f00\u4b00\u3c00\u2f00\u6a00\u7300\u7000\u3a00\u7400\u6500\u7800\u7400\u3e00\u0d00\u0a00\u3c00\u2f00\u6a00\u7300
\u7000\u3a00\u7200\u6f00\u6f00\u7400\u3e00
\ No newline at end of file
Modified: tomcat/trunk/test/webapp/jsp/encoding/bom-none-prolog-utf16le.jspx
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/webapp/jsp/encoding/bom-none-prolog-utf16le.jspx?rev=1774733&r1=1774732&r2=1774733&view=diff
==============================================================================
--- tomcat/trunk/test/webapp/jsp/encoding/bom-none-prolog-utf16le.jspx [UTF-16LE] (original)
+++ tomcat/trunk/test/webapp/jsp/encoding/bom-none-prolog-utf16le.jspx [UTF-16LE] Sat Dec 17 10:56:33 2016
@@ -14,8 +14,8 @@
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
--->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.3">
- <jsp:directive.page contentType="text/plain" />
- <jsp:text>OK</jsp:text>
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.3">
+ <jsp:directive.page contentType="text/plain" />
+ <jsp:text>OK</jsp:text>
</jsp:root>
\ No newline at end of file
Modified: tomcat/trunk/test/webapp/jsp/encoding/bom-none-prolog-utf8.jspx
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/webapp/jsp/encoding/bom-none-prolog-utf8.jspx?rev=1774733&r1=1774732&r2=1774733&view=diff
==============================================================================
--- tomcat/trunk/test/webapp/jsp/encoding/bom-none-prolog-utf8.jspx [UTF-8] (original)
+++ tomcat/trunk/test/webapp/jsp/encoding/bom-none-prolog-utf8.jspx [UTF-8] Sat Dec 17 10:56:33 2016
@@ -14,8 +14,8 @@
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
--->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.3">
- <jsp:directive.page contentType="text/plain" />
- <jsp:text>OK</jsp:text>
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.3">
+ <jsp:directive.page contentType="text/plain" />
+ <jsp:text>OK</jsp:text>
</jsp:root>
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org