Utf-8 Server Issues with Mysql

Asked

Viewed 94 times

0

Good afternoon, I have an accents problem with my application running Ubuntu server 14.04 VPS American. All the application running on my development machine are registering normally at the base along with accentuation.

I made a backup of my local base and took to the server, the application running from there, usually searches the data accentuated the database, more if I make a new addition to the web page, it adds a few squares with ? on the spot.

What can it be? my mysql installed wrong? there is more configuration than set in the base creation?

Thank you.

1 answer

0

To make it clear to anyone with the same problem and has already modified everything.

When configuring my Tomcat, some arguments were passed to the VM, and the following arguments were missing:

-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8

I really found it strange that the bank accepts the accents, and the page brings the accents to the screen, but can’t register the accents.

But that was it.

Thank you.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.