I dunno how it is in python (it has been a long time since I last worked with it) but in C/C++ you need to get the handle of scape sequences to perform Swedish (or whatever other characters outside the ASCII table) to do not get weird characters. Here is some examples:
#include <iostream>
using namespace std;
int main()
{
unsigned char tecken;
tecken = '\x84'; // Det här är hex till tecknet ä, decimal-kod är 132
// tecken = '\x86'; // Det här är hex till tecknet å, decimal-kod är 134
// tecken = '\x94'; // Det här är hex till teckent ö, decimal-kod är 148
cout << tecken << "\n\n";
return 0;
}
I mean that if you want to write :
"Mitt namn är Megaman X", it should be:
"Mitt namn \x84r Megaman X". So it's sure to work at the console without a problem. Check to see if python supports either hex or scape sequences(I really cannot remember, been coding with it and pygame but I don't remember needing it). A complete list of characters is found here:
http://www.asciitable.com/
Lycka till!