- From: rao srinivas <raosrini_11@yahoo.com>
- Date: Sat, 4 May 2002 08:54:18 -0700 (PDT)
- To: "Fran篩s" Richard <fraancois@yahoo.com>
- Cc: www-international@w3.org
Hi Richard, Once the page is displayed, if i see in browser,View-->Encoding, it is set to UTF-8. It is the same in both ends, i mean at my place, and client place. But, we are able to see chinese properly, in our end, where in our clinet place, they are not able to see chinese chracters. They are able to see chinese, if they set in brower explicity, View-->Encoding-->GB2312. But They are supposed to see chinese, with out changing encoding to GB2312. I hope, it is explained clearly. Thanks for your reply. Srinivas --- Fran篩s Richard <fraancois@yahoo.com> wrote: > Srinivas, > > Do you know what is the actual character encoding > form > of the page served to the client. Is it correct to > say > that the page contains the utf-8 encoding > declaration, > but is actually encoded in Chinese GB? And as a > result, by switching the encoding on the browser, > the > page is displayed CORRECTLY? > > Could yo uconfirm these points. > Francois > > --- rao srinivas <raosrini_11@yahoo.com> a 飲it : > > > Hi Steve, > > > > thanks for your reply. > > In my JSPs, > > <%@ page import = > "com.compe.helper.competency.*"%> > > is the first line, and second line is this: > > <%@page contentType="text/html;charset=UTF-8"%> > > > > And i dont' think this is problem > > > > > > Srinivas > > > > --- Steve Billings <billings@global360.com> wrote: > > > OK, then it's an outbound-side problem. > > > > > > The trick I remember for the outbound side is > that > > > the ContentType tag ("<%@ > > > page contentType="text/html;charset=UTF-8"%>") > > must > > > the very first thing > > > streamed out for that page. If it isn't, > WebLogic > > > will use something else > > > (like property settings or OS Locale setting) to > > > decide how to do the > > > outbound conversion. > > > > > > Steve > > > > > > Steve Billings > > > Global 360 > > > Software Globalization Consulting > > > URL: http://www.global360.com/ > > > Email: billings@global360.com > > > TEL: +1 978-697-8201 > > > > > > -----Original Message----- > > > From: rao srinivas > [mailto:raosrini_11@yahoo.com] > > > Sent: Saturday, May 04, 2002 12:38 AM > > > To: Steve Billings > > > Cc: www-international@w3.org > > > Subject: RE: Chinese not displaying, unless > > encoding > > > is set explicitly in > > > the browser ? > > > > > > Hi, > > > > > > Here data(unicode,UTF-8 hexa decimal numbers) is > > > coming from bundles........not data entered by > > user > > > through forms. > > > > > > waiting for experts > > > reply.............\\\\\\\\\\\\\\\\ > > > thanks in advance > > > Srinivas > > > > > > > > > --- Steve Billings <billings@global360.com> > wrote: > > > > Srinivas: > > > > > > > > Are you sure the inbound conversion (the > > > conversion > > > > WebLogic performs to > > > > convert inbound form data into Unicode for > Java > > > > Strings) is being controlled > > > > correctly? I'm wondering if the client's data > is > > > > being corrupted as it is > > > > being entered. (I'm assuming they enter the > data > > > > through forms.) > > > > > > > > The method to control this is version > dependent, > > > and > > > > I don't have all the > > > > information you'll need (if this is, in fact, > > the > > > > problem). Before servlet > > > > version 2.3, you controlled the inbound > > conversion > > > > by setting the OS locale > > > > before starting WebLogic (if the WebLogic > > version > > > > isn't too old, there were > > > > also some WebLogic properties that could > control > > > > it). > > > > > > > > Starting with servlet 2.3 (I'm not sure what > > > version > > > > of WebLogic implements > > > > servlet2.3) you should be able to use > > > > setCharacterEncoding() to control it > > > > in servlets, but I'm not sure how to do it in > > JSP. > > > > > > > > If you think this might be the issue, the > > simplest > > > > thing might be to try > > > > changing the OS locale setting before starting > > > > WebLogic, and see if that > > > > makes any difference in the behavior. > > > > > > > > Steve > > > > > > > > Steve Billings > > > > Global 360 > > > > Software Globalization Consulting > > > > URL: http://www.global360.com/ > > > > Email: billings@global360.com > > > > TEL: +1 978-697-8201 > > > > > > > > -----Original Message----- > > > > From: www-international-request@w3.org > > > > [mailto:www-international-request@w3.org]On > > Behalf > > > > Of rao srinivas > > > > Sent: Friday, May 03, 2002 8:24 AM > > > > To: Andrew Cunningham > > > > Cc: www-international@w3.org > > > > Subject: Re: Chinese not displaying, unless > > > encoding > > > > is set explicitly in > > > > the browser ? > > > > > > > > Hi, > > > > The browser encoding is get set to UTF-8 only, > > in > > > > both > > > > ends. > > > > But in our end, we are able to see Chinese > pages > > > > properly. > > > > But in the other end, they are not able, > unless > > > they > > > > set encoding to GB2312 explicitly in the > brower > > IE > > > 5 > > > > or 5.5 or 6.0. > > > > > > > > And For one page, we compare the 'View > > > Source(HTML)' > > > > of both ends pages, it is different.....why..? > > > > In HTML, obviously some unreadable characters > > are > > > > there. That unreadable characters are > different > > in > > > > both pages, one is created in our end, and > other > > > is > > > > created in my client place. > > > > > > > > is the problem in browser or server (Weblogic > > > 5.1)? > > > > > > > > > > > > Thanks in Advance > > > > Srinivas. > > > > > > > > > > > > > > > > --- Andrew Cunningham <andjc@ozemail.com.au> > > > wrote: > > > > > Hi Srinivas > > > > > > > > > > a couple of things come to mind. > > > > > > > > > > It depends on the source they obtained IE > > from, > > > > I've > > > > > noticed that some > === message truncated === __________________________________________________ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com
Received on Saturday, 4 May 2002 11:54:19 UTC