thanks for your help. I have investigated further and found that the problem is about unicode. If I have that line in a jsp file : test : <%="\u4002"%> The result is : test : ? However I've installed the correct language pack for IE (cyrillic ISO, cyrillic windows, cyrillic koi8-r). So I think it's a problem with the browser and unicode ... If anyone have an ID ... Ludovic -----Original Message----- From: Eric Kreiser [mailto:[EMAIL PROTECTED]] Sent: jeudi 21 d�cembre 2000 17:41 To: JRun-Talk Subject: RE: problem to show russian dates Although I have not yet tried to do this with russian. The most reliable way I have found to localize a date is to use the DateFormat object. In conjuction with asking for a formatted date in the format of either: SHORT, MEDIUM, LONG, or FULL. This slightly limits the formats available but is supposed to guarantee that a properly formatted date in the specified language is returned. -----Original Message----- From: BERTIN,LUDOVIC (Non-HP-France,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 21, 2000 11:15 AM To: JRun-Talk Subject: problem to show russian dates Hi, I have to show russian dates on screens, so I use the following code : <%@ page import="java.util.GregorianCalendar"%> <%@ page import="java.text.SimpleDateFormat"%> <% SimpleDateFormat sdf = new SimpleDateFormat ("d-MMM-yyyy", new Locale("ru","")); Calendar g = new GregorianCalendar(2000, 11, 14); %> <%=sdf.format(g.getTime())%> and the result is : 14-???-2000 Does anyone have en explication and a solution to the problem ? Thanks Ludovic BERTIN ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: problem to show russian dates
BERTIN,LUDOVIC (Non-HP-France,ex1) Fri, 22 Dec 2000 02:10:32 -0800
- problem to show russian dates BERTIN,LUDOVIC (Non-HP-France,ex1)
- Re: problem to show russian dates sahaya ranialex
- RE: problem to show russian dates Eric Kreiser
- RE: problem to show russian dates BERTIN,LUDOVIC (Non-HP-France,ex1)
- RE: problem to show russian dates BERTIN,LUDOVIC (Non-HP-France,ex1)
