Debug encoding issue in python

  • 진행 현황: Closed
  • 상금: $10
  • 응모작 접수(건수): 3
  • 수상자: clayknot

콘테스트 개요

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.

추천된 기술

고용주 피드백

“A+ super freelancer”

프로필 이미지 igge, Sweden.

공개 설명 게시판

메시지가 아직 없습니다.

콘테스트를 시작하는 방법

  • 콘테스트를 게시하세요

    콘테스트 등록 신속하고 간편한 절차

  • 응모작 접수

    응모작 접수 세계적인 참가 범위

  • 최우수 응모작 선정

    최우수 응모작 선정 자료 파일의 다운로드(초간단!)

콘테스트 바로 등록 (또는, 즉시 회원 가입!)