One more bit of information.  I can make only very limited
use of resource bundles because the Japanese text comes
out of Oracle, and the overall quantity of text (in 8 languages)
is too large (~8 GB, of just text).  Most is simlply embedded in
the pages.

On Wed, 2004-03-31 at 22:49, Martin van Dijken wrote:
> Hey Roy,
> 
> I think you might want to read up on how the JSTL handles different
> languages etc. What I'm seeing is that you use formatDate with a pattern
> while you're saying that you've got Japanese and English mixed. Check out
> how to use Locales in JSTL. If you set a Locale using a servlet,
> fmt:setLocale or some other way, the date is formatted according to the
> Locale you set (e.g. American English or Japanese).
> 
> Now on to your problem, are you saying that the <c:out
> value="rows.COMPANY"/> is outputting normally without any fmt: tags in the
> page? If so, there's probably something going on with the fmt tags setting
> the charset of the response. Normally this isn't always necessary, so there
> will be no charset set and then the browser will simply assume a charset by
> looking at the content of your page. I'm not 100% certain but there were
> some issues with setting the charset of the response. Check the list
> archives to see if you can come up with something.
> 
> Martin
> 
> -----Oorspronkelijk bericht-----
> Van: Roy Benjamin [mailto:[EMAIL PROTECTED]
> Verzonden: donderdag 1 april 2004 3:51
> Aan: Tag Libraries Users List
> Onderwerp: fmt:formatDate -> changes Japanese to ???
> 
> 
> Perviously I wrote about using date fmt.
> 
> I started using this construct to format results
> comming back from Oracle.
> 
> <fmt:parseDate var="date" value="${rows.STARTDATE}"
>     pattern="yyyyy-MM-dd kk:mm:ss.SSS"/>
> <fmt:formatDate value="${date}" pattern="MMM d, yyyy"/>
> 
> I have Japanese in parts of this page.  It displays
> fine if I do not use JSTL <fmt:formatDate  .../>
> 
> Otherwise it prints only as ????.
> 
> Looking at the page source, it looks like the
> <c:out value="rows.COMPANY"/>  is outputing ????.
> 
> Has anyone else seen this?
> 
> Thanks
> 
> Roy
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to