OS: windows
Python 3.3.5
I am using characters like 'öÖäÄåÅąĄčČęĘėĖ įĮšŠųŲūŪžŽ' in my scripts and adding the script file the first line
Currently i start getting the error: "Invalid encoding cp1252" when i try to save the file.
And error "encoding problem: windows1252 with BOM" when i try to run the file.
I also have tried other encodings like:
cp-1252
windows-1252
windows1252
What i can do. How to use characters 'öÖäÄåÅąĄčČęĘėĖ įĮšŠųŲūŪžŽ' in my script?
Python 3.3.5
I am using characters like 'öÖäÄåÅąĄčČęĘėĖ įĮšŠųŲūŪžŽ' in my scripts and adding the script file the first line
Code:
# -*- coding: cp1252 -*-
And error "encoding problem: windows1252 with BOM" when i try to run the file.
I also have tried other encodings like:
cp-1252
windows-1252
windows1252
What i can do. How to use characters 'öÖäÄåÅąĄčČęĘėĖ įĮšŠųŲūŪžŽ' in my script?
Comment