Data Sources. Unicode data problem

I'm using the latest PyCharm release (1.5.2) and trying to set up new data source.

Database, that I'm using is MySQL.

Connection string looks like jdbc:mysql://localhost/my_db_name

The database default collation is utf8_unicode_ci

I cat read the data (I see all russion characters), but the data gets broken if I change it.

I've seen a lot of data source advanced properties, but I've not found the properly field.

2 comments
Comment actions Permalink

Hello Andrew,

I tracked this problem down to Connector/J part.

Please watch/participate here:

http://bugs.mysql.com/bug.php?id=61772

On 6/28/11 2:20 PM, Andrew Tarasenko wrote:

I'm using the latest PyCharm release (1.5.2) and trying to set up new data source.

Database, that I'm using is MySQL.

Connection string looks like jdbc:mysql://localhost/my_db_name

The database default collation is utf8_unicode_ci

I cat read the data (I see all russion characters), but the data gets broken if I change it.

I've seen a lot of data source advanced properties, but I've not found the properly field.

>

---

Original message URL: http://devnet.jetbrains.net/message/5307564#5307564

Regards,

--

Gregory Shrago

Software Developer

JetBrains Inc.

http://www.jetbrains.com

"Develop With Pleasure!"

0
Comment actions Permalink

With useOldUTF8Behavior=false I got everything working right on Mysql 5.5.

On 7/6/11 7:20 PM, Gregory Shrago (Jetbrains) wrote:

Hello Andrew,

>

I tracked this problem down to Connector/J part.

>

Please watch/participate here:

http://bugs.mysql.com/bug.php?id=61772

>

On 6/28/11 2:20 PM, Andrew Tarasenko wrote:

>> I'm using the latest PyCharm release (1.5.2) and trying to set up new

>> data source.

>> Database, that I'm using is MySQL.

>> Connection string looks like jdbc:mysql://localhost/my_db_name

>> The database default collation is utf8_unicode_ci

>> I cat read the data (I see all russion characters), but the data gets

>> broken if I change it.

>> I've seen a lot of data source advanced properties, but I've not found

>> the properly field.

>>

>> ---

>> Original message URL: http://devnet.jetbrains.net/message/5307564#5307564

>

Regards,

--

Gregory Shrago

Software Developer

JetBrains Inc.

http://www.jetbrains.com

"Develop With Pleasure!"

0

Please sign in to leave a comment.