Results 1 to 3 of 3
  1. #1
    ranyeng is offline Member
    Join Date
    Nov 2012
    Posts
    2
    Rep Power
    0

    Default Bengali Unicode Issue

    I am developing a web application using Eclipse (Java + JSP + Postgres). The unicode contents (Bengali) are displaying properly in JSP and Database. Here, problem is when I see the server application log (logs/catalina.out), the bengali characters can not be displayed (displaying only ?). And the contents (bengali characters) of automatic mail are coming from database which can not be received bt receiver with proper bengali character (displaying only ?). Please help me out.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,751
    Rep Power
    19

    Default Re: Bengali Unicode Issue

    If the data is fine in the database, and Java is transferring it correctly such that it appears in the JSP correctly, then the problem is with how you are displaying the logs, and nothing to do with Java.

    Put simply, whatever tool you are using to display the logs is either using a different character set, or is using a font that does not have those characters.

    The same thing would apply to the email I suspect, though you might be able to set the character set properly for that one.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    ranyeng is offline Member
    Join Date
    Nov 2012
    Posts
    2
    Rep Power
    0

    Default Re: Bengali Unicode Issue

    Dear Tolls,
    Thanks for your reply. Finally I got the solution. I required to set UNICODE into server.xml also.


    Quote Originally Posted by Tolls View Post
    If the data is fine in the database, and Java is transferring it correctly such that it appears in the JSP correctly, then the problem is with how you are displaying the logs, and nothing to do with Java.

    Put simply, whatever tool you are using to display the logs is either using a different character set, or is using a font that does not have those characters.

    The same thing would apply to the email I suspect, though you might be able to set the character set properly for that one.

Similar Threads

  1. Help in Unicode
    By justbeller in forum NetBeans
    Replies: 0
    Last Post: 01-29-2011, 06:43 PM
  2. wat is the unicode of '?' ? 63 or 128
    By Jagdeesh123 in forum New To Java
    Replies: 1
    Last Post: 12-09-2010, 08:49 AM
  3. Incorrect Bengali font rendering
    By netvaibhav in forum AWT / Swing
    Replies: 3
    Last Post: 10-24-2010, 07:35 PM
  4. Unicode(UTF-8) to PDF
    By karasatishkumar in forum Advanced Java
    Replies: 0
    Last Post: 03-24-2010, 10:59 AM
  5. SWT 2D Unicode Example
    By Java Tip in forum SWT
    Replies: 0
    Last Post: 06-28-2008, 09:21 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •