public RegisterViewHelper getRegisterViewHelper(HttpServletRequest req) 
			throws UnsupportedEncodingException {
		
		RegisterViewHelper registerViewHelper = new RegisterViewHelper();
		
		if (req.getParameter("forename") != null) {
			registerViewHelper.setForename(new String(req.getParameter("forename")
					.getBytes("iso-8859-1"), "UTF-8"));
		}
		if (req.getParameter("surname") != null) {
			registerViewHelper.setSurname(new String(req.getParameter("surname")
					.getBytes("iso-8859-1"), "UTF-8"));
		}
		if (req.getParameter("email") != null) {
			registerViewHelper.setEmail(new String(req.getParameter("email")
					.getBytes("iso-8859-1"), "UTF-8"));
		}
		if (req.getParameter("password") != null) {
			registerViewHelper.setPassword(new String(req.getParameter("password")
					.getBytes("iso-8859-1"), "UTF-8"));
		}
		if (req.getParameter("conf-password") != null) {
			registerViewHelper.setConfPassword(new String(req.getParameter("conf-password")
					.getBytes("iso-8859-1"), "UTF-8"));
		}
		if (req.getParameter("card-num") != null) {
			registerViewHelper.setCardNum(new String(req.getParameter("card-num")
					.getBytes("iso-8859-1"), "UTF-8"));
		}
		if (req.getParameter("house-num") != null) {
			registerViewHelper.setHouseNum(new String(req.getParameter("house-num")
					.getBytes("iso-8859-1"), "UTF-8"));
		}
		if (req.getParameter("street") != null) {
			registerViewHelper.setStreet(new String(req.getParameter("street")
					.getBytes("iso-8859-1"), "UTF-8"));
		}
		if (req.getParameter("postcode") != null) {
			registerViewHelper.setPostcode(new String(req.getParameter("postcode")
					.getBytes("iso-8859-1"), "UTF-8"));
		}
		
		return registerViewHelper;
	}