Re: Sure: Bug with Encoding: \x80 \x81 ...
Bambarbia Kirkudu Wrote:
-------------------------------------------------------
> Mark,
>
> It works with Asian characters without any extra
> URL parameters such as UTF-8. I tested with
> Statement and PreparedStatement, with Russian and
> Asian chars.
>
> And it does not work with some characters in Java
> Unicode. If MySQL utf8 does not have any of Java
> Unicode, it must replace it with reverse question
> mark instead of throwing ERROR.
Hi,
What specification says this? The general idea is that your database doesn't lose data silently. Nearly every database I've used considers a character encoding mismatch to be an error.
If anything, this is a server bug if it doesn't support the full UTF-8 repertoire that you need.
-Mark
Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools
Oracle
http://www.mysql.com/products/enterprise/monitor.html