Add translations for French and Japanese
[frank.git] / prod / net / jaekl / frank / ViewSchedule.java
index b13258b3a8ce66227652ee6880886823601528ce..a2018f48707bde248b536536d068cb69925d038d 100644 (file)
@@ -21,6 +21,7 @@ public class ViewSchedule extends HttpServlet {
        static final String STOP = "stop";
        static final String ROUTE = "route";
        static final String LANG = "lang";
+       static final String UTF_8 = "UTF-8";
        
        ErrorHandler m_errorHandler;
        
@@ -65,6 +66,7 @@ public class ViewSchedule extends HttpServlet {
        throws ServletException, IOException
        {
                res.setContentType("text/html");
+               res.setCharacterEncoding("utf8");       // Seems to be necessary when running in Japanese
                PrintWriter pw = res.getWriter();
                
                Locale locale = getLocale(req);