Code:
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css; charset=utf-8"/>
<meta http-equiv="Content-Script-Type" content="text/javascript;charset=utf-8" />
<form enctype="application/x-www-form-urlencoded" action="../jsp/old_articles.jsp" method="post" lang="en" accept-charset="UTF-8" >
I have textarea on that form and for german letters I get, that is, could do on server:
Code:
s = s.replaceAll("Ã", "ß");
s = s.replaceAll("Ã", "ö");
But as you see I get same character for both ß and ö.
Any tip ?