Hi to all!

Im having problem inserting ñ and Ñ in mysql using java. I did try to insert in mysql using CLI and it works ok but when I used it in my java it was replaced by other characters. does anyone have the same problem and have solved them? please help.

Thank you.

Recommended Answers

All 3 Replies

You can try to use jdbc:mysql://localhost/some_db?useUnicode=yes&characterEncoding=UTF-8 see if that works

@peter_budo:

Still no luck... it doesn't work.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.