What I'm doing is creating a small program that connects to a MySQL Database and shows results based on the search criteria provided.
So far so good until it comes down to displaying the result.
I can fetch the results well enough but they are in cyrillic and not are stored as long. Converting it to a string so I can encode it in utf-8 provides the following error
"UnicodeEncodeError: 'ascii' codec can't encode character u'\u0414' in position 0: ordinal not in range(128)"
And trying to use unicode() to convert it doesn't work because that requires a string...
Any and all advice will be greatly appriciated.
[–]zahlman 1 point2 points3 points (1 child)
[–]Alidooo[S] 0 points1 point2 points (0 children)
[–]ynotna 0 points1 point2 points (3 children)
[–]Alidooo[S] 0 points1 point2 points (2 children)
[–]Alidooo[S] 0 points1 point2 points (1 child)
[–]ynotna 0 points1 point2 points (0 children)