Skip navigation links

MySQL Forums :: Connector/Python :: Cannot display MySQL latin2_croation_ci characters in Python script


Advanced Search

Cannot display MySQL latin2_croation_ci characters in Python script
Posted by: Paul Pikowsky ()
Date: April 10, 2013 05:25PM

I am trying to apply MySQL records in a Python script. The fields I am concerned with use latin2_croatian_ci collation characters. When I try to print out the following characters,

Karadžić
Stanišić & Simatović
Boškoski & Tarčulovski
Đorđević
Ražnatović, Željko

I get only,

Karadži?
Staniši? & Simatovi?
Boškoski & Tar?ulovski
?or?evi?
Ražnatovi?, Željko

I have tried numerous strategies from both MySQL and Python. In MySQL I have tried both CONVERT and CAST in various combinations. In Python I have tried applying the unicode() function. Nothing seems to work. In Flash, I had to set the embedding to "latin extended A" to solve a similar problem. In the old MySQL Query Browser, I have the same display problems when a try to display the records.

Any and all tips and or clues would be appreciated.

Options: ReplyQuote


Subject Written By Posted
Cannot display MySQL latin2_croation_ci characters in Python script Paul Pikowsky 04/10/2013 05:25PM
Re: Cannot display MySQL latin2_croation_ci characters in Python script Geert Vanderkelen 04/24/2013 05:33AM
Re: Cannot display MySQL latin2_croation_ci characters in Python script Geert Vanderkelen 04/24/2013 05:40AM
Re: Cannot display MySQL latin2_croation_ci characters in Python script Paul Pikowsky 04/24/2013 09:42AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.