You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by sd...@apache.org on 2017/05/01 07:23:31 UTC
[3/8] struts-examples git commit: changed encoding to UTF-8
changed encoding to UTF-8
Project: http://git-wip-us.apache.org/repos/asf/struts-examples/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts-examples/commit/c14031c7
Tree: http://git-wip-us.apache.org/repos/asf/struts-examples/tree/c14031c7
Diff: http://git-wip-us.apache.org/repos/asf/struts-examples/diff/c14031c7
Branch: refs/heads/master
Commit: c14031c7d3766c40d2bf80be5da1b3c71b811b63
Parents: 2a1e6fb
Author: Stefaan Dutry <st...@gmail.com>
Authored: Tue Apr 25 22:20:47 2017 +0200
Committer: Stefaan Dutry <st...@gmail.com>
Committed: Tue Apr 25 22:20:47 2017 +0200
----------------------------------------------------------------------
form-processing/src/main/webapp/HelloWorld.jsp | 4 ++--
form-processing/src/main/webapp/index.jsp | 4 ++--
form-processing/src/main/webapp/register.jsp | 6 +++---
form-processing/src/main/webapp/thankyou.jsp | 6 +++---
4 files changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/struts-examples/blob/c14031c7/form-processing/src/main/webapp/HelloWorld.jsp
----------------------------------------------------------------------
diff --git a/form-processing/src/main/webapp/HelloWorld.jsp b/form-processing/src/main/webapp/HelloWorld.jsp
index 0fc29c0..d207c34 100644
--- a/form-processing/src/main/webapp/HelloWorld.jsp
+++ b/form-processing/src/main/webapp/HelloWorld.jsp
@@ -1,9 +1,9 @@
-<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Hello World!</title>
</head>
<body>
http://git-wip-us.apache.org/repos/asf/struts-examples/blob/c14031c7/form-processing/src/main/webapp/index.jsp
----------------------------------------------------------------------
diff --git a/form-processing/src/main/webapp/index.jsp b/form-processing/src/main/webapp/index.jsp
index 7c8987d..9d972fd 100644
--- a/form-processing/src/main/webapp/index.jsp
+++ b/form-processing/src/main/webapp/index.jsp
@@ -1,9 +1,9 @@
-<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Basic Struts 2 Application - Welcome</title>
</head>
<body>
http://git-wip-us.apache.org/repos/asf/struts-examples/blob/c14031c7/form-processing/src/main/webapp/register.jsp
----------------------------------------------------------------------
diff --git a/form-processing/src/main/webapp/register.jsp b/form-processing/src/main/webapp/register.jsp
index c638407..647cd0c 100644
--- a/form-processing/src/main/webapp/register.jsp
+++ b/form-processing/src/main/webapp/register.jsp
@@ -1,10 +1,10 @@
-<?xml version="1.0" encoding="ISO-8859-1" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
<%@ taglib prefix="s" uri="/struts-tags" %>
-<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Register</title>
</head>
<body>
http://git-wip-us.apache.org/repos/asf/struts-examples/blob/c14031c7/form-processing/src/main/webapp/thankyou.jsp
----------------------------------------------------------------------
diff --git a/form-processing/src/main/webapp/thankyou.jsp b/form-processing/src/main/webapp/thankyou.jsp
index f5f3043..27f7b6a 100644
--- a/form-processing/src/main/webapp/thankyou.jsp
+++ b/form-processing/src/main/webapp/thankyou.jsp
@@ -1,10 +1,10 @@
-<?xml version="1.0" encoding="ISO-8859-1" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
<%@ taglib prefix="s" uri="/struts-tags" %>
-<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Registration Successful</title>
</head>
<body>