i'm not sure if this is the right place to post

i made this blog (with java and mysql) and when i enter text and submit, this happens:

what i submit:
a b c d
what is displayed after submission and retrieve from database:

from where should i start in order to solve this?

using charset=iso-8859-1 in my jsp and latin-1 in mysql