Hi everyone,

I have problem with displaying some characters from Cp1250 codepage
(Croatian locale) in JSP .
It seems that transforming from Cp1250 to Unicode doesn't work well.

Inspecting java code generated from JSP by Orion, I noticed that HTML code
is transformed from JSP into something like:

out.write(" <option value=\"zvanje\" selected>--- Titula ---</option> ");

and it should be:

out.write(" <option value=\"zvanje\" selected>--- Titula ---</option>
".getBytes());


This is the header example from my JSP:

<html>
<head>
<jsp:useBean id="PostBeanId" scope="request" class="x.web.jsp.PostBean" />
<%@ page import="java.util.ArrayList" %>
<%@ page contentType="text/html; charset=windows-1250" %>
<title>Application X</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
</head>
....


Interesting thing is that everything worked fine during development when the
web tier was on Resin and just the EJB tier on Orion.
The problem emerged after moving the web tier to Orion.

Any help appreciated.

Thanx in advance,

Ladislav Mackala



Reply via email to