Hi,
I have copied my Cocoon based WebApp from one Tomcat to another. On
the new copy, the page is displayed incorrectly - browser takes
encoding as ISO-8859-1 instead of UTF-8. When I change encoding
manually to UTF-8 it is displayed correctly. I'm also checking  both
copies using the same browser. I have set XHTML serializer encoding
to UTF, and it still doesn't work!

This is what is returned to browser (looks OK!)

<?xml version="1.0" encoding="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";
xmlns:i18n="http://apache.org/cocoon/i18n/2.1";>
<head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
...

What might be the reasong?

Regards,
Marcin Okraszewski


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

Reply via email to