Hi, > I want to parse & display Date on HTML pages. I can use JavaScript, JSP, > or Java. The problem is to convert the UTC date format into Japanese > format. The delimiters of Japanese date differ from standard Date > representation in English. > > My HTML/JSP pages are enforced to use UTF-8 encoding. So, when my > ServerApplication dumps the Date related information, it is always in UTC > date format. To display the same in Japanese format, I need to embed the > Japanese delimiters into the date, re-calculate & re-format it, then > display it. Since, the delimiters are in Shift_JIS, so I need to convert > it into UTF-8 before displaying. That's the problem while displaying dates > in Japanes format. > > Similarly, when the Date is keyed in by the user in a textbox of an HTML > page, then I need to parse it using JavaScript. Even though the HTML page > is enforced UTF-8 encoding, while the user enters the date in HTML > textbox, the data remains in Shift_JIS format (system locale). It is > converted to UTF-8 only after FORM submssion. But, my problem is to parse > the date in JavaScript, which means that the date is still in Shift_JIS > format. So, how do I do that? > Regards, Kedar

Reply via email to