Debug encoding issue in python

  • Status: Closed
  • Prize: $10
  • Entries Received: 3
  • Winner: clayknot

Contest Brief

I have a pythonscript that reads data from a mysql db and then creates a html page with some data in it.

I've got an encoding issue in the script when using "åäö" in the html code that I'm writing to file.
It only seems to happend if I set a variable manually like data = "åäö" and not with the data fetched from sql.

I've tried all kind of .encode .decode and #encoding header but nothing seems to help.

I think a skilled python dev will solve this in minutes.

Recommended Skills

Employer Feedback

“A+ super freelancer”

Profile image igge, Sweden.

Public Clarification Board

No messages yet.

How to get started with contests

  • Post your contest

    Post Your Contest Quick and easy

  • Get tons of entries

    Get Tons of Entries From around the world

  • Award the best entry

    Award the best entry Download the files - Easy!

Post a Contest Now or Join us Today!