title: Python coding problems (Utf-8, Hungarian language)
body: <p>I wrote a script in Python 2 which is separated in 4-5 modules. I use the Hungarian language in the script, which contains several unusual characters like öüóőúéáűí. I wrote the modules on Win7 with an original cp-1250 coding, and then I moved to Ubuntu raring, where the system default is Utf-8.</p>
  
  <p>First Tkinter left the spec. letter containing labels blank, which I managed to debug by setting every coding in the beginning of the modules to <code># -*- Utf-8 -*-</code>.</p>
  
  <p>Entries started to go mad too. Their <code>.get()</code> methods raised UnicodeDecodeError: 'ascii' codec can't decode byte...</p>
  
  <p>And finally if for example module <code>a.py</code> had a dictionary <code>dict = {'Sándor': 16}</code> and module <code>b.py</code> has a line <code>a.dict['Sándor']</code>, it raises KeyError, as if dict didn't contain <code>'Sándor'</code>. It doesn't do this with strings containing only normal characters, not does this with dictionaries of the module's own.</p>