Hi, Muthu Are you using Oracle OAS/WAS ? If you are using it, it supports cord conversion. Even if you are using DB charset : UTF8 . You can set Web DAD "NLS Language" to target lang : Japanese_japan.JA16SJIS or Japanese_japan.JA16EUC. I'm not sure follow coding. Meta tag EUC_JP is not correct. It should be EUC-JP. SJIS meta tag should be Shift_JIS. At 8:51 PM -0400 00.9.13, Puranam, Muthukumar (GEP) wrote: >Hi Yoshiyuki, >I have to display the data from oracle database whose charset is UTF8. >But i mode supports only SJIS or EUC_JP. >I use the following method for code conversion. > >testShipTo=new String(testShipTo.getBytes("UTF8"),"UTF8"); > out.println("<BR>"+testShipTo+"Is the old String"); > testcoded=testShipTo.getBytes("EUC_JP"); > testShipTo=new String(testcoded,"EUC_JP"); > out.println("<BR>"+testShipTo+"Is the new String"); > I have set my contenttype of my JSP as to EUC_JP.I have give meta tag as >EUC_JP. > > I have the following output in my IE browser. > 1)When browser encoding is set in Unicode mode it displays the japnese > texts properly. > 2)When set in EUC mode the out is not proper. >When testerd with imode browser the output is some junk values. >Regards >Muthu > >-----Original Message----- >From: Yoshiyuki Kumadaki [mailto:[EMAIL PROTECTED]] >Sent: Thursday, September 14, 2000 7:56 AM >To: Puranam, Muthukumar (GEP) >Subject: Re: imode > > >Hi Muthu > >What kind of information doyou need? > >Yoshiyuki > > >At 7:16 AM -0400 00.9.13, Puranam, Muthukumar (GEP) wrote: > >Hi all, > > can i get some help regarding i-mode? > >Regards > >Muthu -- Yoshiyuki Kumadaki/ $B7'2{ (B $BA1G7 (B Web Japan Co.,Ltd / $B!J3t!K%&%(%V%8%c%Q%s (B $B?7=I!'!!El5~ET?7=I6h@>?7=I (B5-25-13 $B!!!!!!!!%Q%i%,%$%O%$%D#8 (BB TEL: 03-5365-3271 FAX: 03-5365-3275 <mailto:[EMAIL PROTECTED]> <http://www.webjp.ne.jp/> =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
  • imode Puranam, Muthukumar (GEP)
    • Yoshiyuki Kumadaki

Reply via email to