MySQL Forums
Forum List  »  Connector/Python

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,

Stanišić & Simatović
Boškoski & Tarčulovski
Ražnatović, Željko

I get only,

Staniši? & Simatovi?
Boškoski & Tar?ulovski
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

Written By
Cannot display MySQL latin2_croation_ci characters in Python script
April 10, 2013 05:25PM

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.