This content has been marked as final.
Show 1 reply
-
1. Re: What is RMI's default charset?
sbrbot Jan 11, 2004 1:52 AM (in response to twhphan)"twhphan" wrote:
Note that ISO-8859-1 is the default charset most browsers used to encode a GET/POST query. what about RMI?
In forms browser uses the character set you define in META tag inside header of your HTML document:<META http-equiv="Content-Type" content="text/html; charset=windows-1250">
or in page declaration instruction of your JSP pages:<%@ page language="java" contentType="text/html; charset=windows-1250" %>
In my case, for example, you can see that it is defined for browser to use windows-1250 charset. Unfortunately Java code cannot deal with this character set. Java code can work with character set called Cp1250 but there's not perfect matching among them and I don't know how to define this character set mappings among them for JBoss! I know how to do that for WebLogic but not for JBoss!