1) The OS and the web container, Tomcat 4.0 are English version. It is hard to let me 
believe your problem is OS 
related.
2) I haven't tried to use another non-Latin language in my project yet.
3) I am not saying your problem in the browser, but using browser setting to find out 
the problem spot.

You have mentioned before that you used utf8 encoding for Java code compiling. I 
believe it is meaningful only inside 
of the container
 
11/8/2002 12:06:52 AM, "Joan Foo" <[EMAIL PROTECTED]> wrote:

>Is chinese the default language of your server?  Have you tryied using 
>several non-latin encodings at the same time (not just one)? I also use the 
><%@ page contentType='text/html; charset=UTF-8' %>, and the problem is not 
>in the browser. I have used multilingual content (with the four languages I 
>mentioned in several projects with no problem at all). This problem only 
>occurs when I use the fmt tag library.
>
>Joan
>
>
>>From: Vernon Wu <[EMAIL PROTECTED]>
>>Reply-To: [EMAIL PROTECTED]
>>To: Tag Libraries Users List <[EMAIL PROTECTED]>
>>Subject: Re: utf8 encoding problem
>>Date: Thu, 07 Nov 2002 08:57:06 -0800
>>
>>
>>I also use a non-Latin language, Chinese, in my current project. Only time 
>>I get question mark, if I can recall correctly, is
>>the key is not set up properly in the property file. In JSP file, I have 
>>the following encode setting:
>>
>><%@ page contentType='text/html; charset=UTF-8' %>
>>
>>I don't set resource bundle at all, only use the fmt tag from the i18n tag 
>>set. The i18n portion works correctly with
>>accept-language as well as after language changed with calling the method 
>>config.set. I don't compile the code with
>>i18n encoded argument. I do have one problem with i18n though: unable to 
>>write/read double byte code in/out DB (I
>>am told that the problem is in my Java itself).
>>
>>You might want to try using the fmt tag only and change your browser 
>>languge setting to test out whether all languges
>>display properly or not.
>>
>>Vernon
>>
>>
>>11/7/2002 8:02:52 AM, "Joan Foo" <[EMAIL PROTECTED]> wrote:
>>
>> >My property files are ok. The problem in my opinion has to do with the
>> >encoding. I am not using just latin charsets. I need to have content in
>> >english, greek, finnish and russian. Maybe i wasn't clear enough in my
>> >previous posting about the languages. The english gets displayed just 
>>fine,
>> >as well as greek (which is the default language of the system). But all
>> >russian characters are displayed as question marks, an some finnish
>> >characters are also displayed as question marks.
>> >As i also mentioned, i have a test tag that uses the same resources and
>> >displays all four languages fine.
>> >What languages do you use?
>> >
>> >>From: Vernon Wu <[EMAIL PROTECTED]>
>> >>Reply-To: [EMAIL PROTECTED]
>> >>To: Tag Libraries Users List <[EMAIL PROTECTED]>
>> >>Subject: Re: utf8 encoding problem
>> >>Date: Wed, 06 Nov 2002 08:26:53 -0800
>> >>
>> >>
>> >>I also have i18n on with jstl in my project. I haven't have any display
>> >>problem. Do you have all correspond property files
>> >>for all four language?
>> >>
>> >>11/6/2002 1:44:26 AM, "Joan Foo" <[EMAIL PROTECTED]> wrote:
>> >>
>> >> >Hi,
>> >> >I am trying to use the jstl i18n tag library to display multilingual
>> >> >content.
>> >> >I use UTF-8 encoding on my jsp pages. The problem is that the
>> >> >only content that gets displayed correctly is the one that
>> >> >uses the default of the system. The other ones get displayed as a 
>>series
>> >>of
>> >> >question marks.
>> >> >First I tryied to use a properties file that I converted to
>> >>Unicode-encoded
>> >> >with native2ascii. All the content got displayed as question marks.
>> >> >The next step was to use a ListResourceBundle and I created my java
>> >>source
>> >> >files in UTF8. I used the -encoding UTF8 argument in javac.
>> >> >Only the default language got displayed as it should.
>> >> >
>> >> >I am under the impression, that the i18n tag overrides the encoding in
>> >>jsp
>> >> >pages with something else (system defult?). Is there a workaround on
>> >>this?
>> >> >Why UTF8 is not supported?
>> >> >
>> >> >I also wrote a simple test bean that uses the same resource bundle,
>> >> >and with that I was able to display all four languages I use as they 
>>are
>> >> >supposed to (using the ListResourceBundle).
>> >> >But I really don't want to re-invent the wheel, and would like to use 
>>the
>> >> >standard library.
>> >> >
>> >> >Thanks in advance.
>> >> >Joan
>> >> >
>> >> >_________________________________________________________________
>> >> >The new MSN 8: advanced junk mail protection and 2 months FREE*
>> >> >http://join.msn.com/?page=features/junkmail
>> >> >
>> >> >
>> >> >--
>> >> >To unsubscribe, e-mail:
>> >><mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
>> >> >For additional commands, e-mail:
>> >><mailto:taglibs-user-help@;jakarta.apache.org>
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >>
>> >>--
>> >>To unsubscribe, e-mail:
>> >><mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
>> >>For additional commands, e-mail:
>> >><mailto:taglibs-user-help@;jakarta.apache.org>
>> >
>> >
>> >_________________________________________________________________
>> >Add photos to your messages with MSN 8. Get 2 months FREE*.
>> >http://join.msn.com/?page=features/featuredemail
>> >
>> >
>> >--
>> >To unsubscribe, e-mail:   
>><mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
>> >For additional commands, e-mail: 
>><mailto:taglibs-user-help@;jakarta.apache.org>
>> >
>> >
>>
>>
>>
>>
>>--
>>To unsubscribe, e-mail:   
>><mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
>>For additional commands, e-mail: 
>><mailto:taglibs-user-help@;jakarta.apache.org>
>
>
>_________________________________________________________________
>Add photos to your messages with MSN 8. Get 2 months FREE*. 
>http://join.msn.com/?page=features/featuredemail
>
>
>--
>To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
>For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>
>
>




--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>

Reply via email to