cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kavitha ramesh <>
Subject Re: UTF-8
Date Thu, 08 Aug 2002 11:10:16 GMT
Hi Siddharth,

I had an XML file messages_zh.xml which has the
messages  in chinese.I opened a chinese text editor
and entered the text in chinese.My XML file looks

<?xml version="1.0" encoding="GB2312"?>
<catalogue xml:lang="zh">
<message key="welcometext">
»¶Ó­ÄãʹÓÃÎÒÃǵķþÎñ£(this are chinese characters)

And when I restarted the server my browser displayed
chinese message,,,

I dont know whether my example is useful for you,,,


 --- wrote: > Hello All
> I am doing the following
> 1) I have a Unicode database in PostgreSQl
> 2) I am inputting some data other than english in
> the database.
> 3) I am trying to retrieve the data back through
> cocoon2.0.3. AN d getting
> the HTML as
> <head>
> <META http-equiv="Content-Type" content="text/html;
> charset=ISO-8859-1">
> </head>
> But the data which was entered is coming like this
>  à ¥�à ¤¸s                                      
>  à ¤¦à ¥�à ¤ªà ¤¨à ¥�à ¤�             
> 4) I am trying to do the same thing with JSP and am
> getting the data
> correct on my page like this.Though the HTML in both
> the cases is same I
> can not understand why the hell Browser is not
> interpreting my Unicode in
> case of Cocoon.
> I am getting in case of Jsp like this
> <head>
> <META http-equiv="Content-Type" content="text/html;
> charset=ISO-8859-1">
> </head>
> Please help me as I am trapped in this for two days
> and am not getting what
> is wrong with cocoon
> Regards
> Sidharth Ghai
> Vmoksha Technologies
> VI th Floor, Corporate Towers 'C'
> Diamond District
> Kodihally
> Banglore 

Want to sell your car? advertise on Yahoo Autos Classifieds. It's Free!!

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message