unknown initial character set

hi to all...

i'm using xampp for windows with tomcat add-on... jsp files and servlets compiling just fine but i always get exception error when trying to access mysql database...

org.apache.jasper.JasperException: Unknown initial character set index '48' received from server. Initial client character set can be forced via the 'characterEncoding' property.

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

dont know where the problem comes from...

plz help, really urgent

[860 byte] By [victoriousa] at [2007-11-26 16:05:42]
# 1

Hey,

no problem ... you have to make some little changes in the "my.cnf"-file.

So, open the my.cnf (e.g. C:\Programs\xampp\bin\my.cnf) in a text editor and do following:

change:

character-set-server = latin1

collaction-server = latin1_general_ci

to

character-set-server = utf8

collaction-server = utf8_bin

That's it! ;-)

Greetz, Chris

warez666a at 2007-7-8 22:27:45 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...