Using unicode in jsp or java files under influence of any IDE like RAD can be easier.
Before pasting your unicode data into the jsp,java or data file in RAD, make the file encoding into utf-8. You can do this by
- Select file in package explorer
- Right click and choose Properties
- Choose the Other option in the Text-Encoding.
- From the list choose UTF-8
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
And here you go, your யூனிகோட்(Unicode) displays fine in the screen :)
This entry was posted
on Aug 27, 2008
at Wednesday, August 27, 2008
and is filed under
jsp,
unicode
. You can follow any responses to this entry through the
comments feed
.