I don't think so, though I'm not 100% sure. I changed the encoding of the JSPs and template JSPs to UTF-8 (manually saving the files in UTF-8 format), which is why the Japanese show up directly in my JSPs. However, I'm inclined to think that the taglib is what's messing with the encoding, because after all, only the <ui:xxx /> tags mess up (and this is from adding a line <webwork:text name="'main.title'" /> in both controlheader.jsp *and* text.jsp in /template/xhtml...
Help please!! The end of the project is so close I can smell it, I just need to solve this last problem! Thank you!! James -----Original Message----- From: Jason Carreira [mailto:[EMAIL PROTECTED] Sent: October 30, 2003 8:43 AM To: [EMAIL PROTECTED] Subject: RE: Spam:[OS-webwork] Again: internationalization problems Keep in mind that I have absolutely no experience in this, but... Could the encoding of your JSPs and the template JSPs be causing any problems? Jason > -----Original Message----- > From: James Pan [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 29, 2003 5:44 PM > To: [EMAIL PROTECTED] > Subject: Spam:[OS-webwork] Again: internationalization problems > > > Hello again, > > I have been having internationalization problems, > particularly with using UTF-8 encoding. Dropped it for a few > weeks, but looks like I have to confront the problem one way > or another... > > I've narrowed my questions a little bit, so please bear with me: > > 1) I'm testing with the i18n Shop example from WW1.3. I've > modified Shop_fr.properties to using Japanese and then I > saved the file to be UTF-8 file. > > 2) By bringing up the Shop example in a browser, I noticed > that some texts show up (like title, etc), and some others > become garbage. > > 3) The texts that show up are directly within the JSP page, as in: > > <webwork:text name="'main.title'"/> > > right in my page, and it works great. I see Japanese > characters displaying correctly. > > 4) The texts that don't show up are within <ui:xxx /> tags. > I've modified "controlheader.jsp" in /template/xhtml/ to include this: > <webwork:text name="'main.title'"/> > And this becomes garbage. > > Based on this simplistic check, I assume the <ui:xxx /> tags > are messing with my characters. How can I make them > consistent? Basically, I want Japanese to show up in both my > regular JSP page (which it already does, with a simple > <webwork:text name="'main.title'"/> ), AND the <ui:xxx /> > tags (where I added <webwork:text name="'main.title'"/> to > the label section in controlheader.jsp and only garbage shows up). > > Thank you very much for your help! I believe this should be > the last of my problems... hope you can help! > > Cheers! > > James > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork