> >I think that JSP encoding isn't relevant here, because I put these special > >letters into Java > Action, >not from Form, and (for now) i directly call taht action. I'm not > doing anything with JSP > > page... > > > > I'll try to be generic here and suppose you use a form. The JSP > generating the form (meaning the HTML page) should use a response > encoding of UTF-8. A meta element would be great as well. The request > now, as submitted by the form should also be UTF-8 but the server does > not really know that; you let the server know by intercepting the > request with a servlet filter or something and set as such. > > In your case, the folllowing should be more interesting. MySQL should be > 4.1 plus to properly support unicode AFAIK and the default DB server or > specific DB encoding should be utf8. The only thing missing now is the > driver and connection URL, you should use something like > > jdbc:mysql://localhost:3306/db-name?useUnicode=true&characterEncoding=UTF-8 > > hth, > > Manos > I don't use meta element, because I use servlet filter and in the HTML page I see all special character correctly. MySQL 5.0.1 (is this DB worst than 4.1?) is set to utf-8 (DB and table).
Where can i put this connestion URL in code? Only url connection I use is in struts-config.xml, but only this part: jdbc:mysql://localhost:3306/db-name. Tnx on your time :-) Stanislav --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]