diff options
Diffstat (limited to 'babel/util.py')
-rw-r--r-- | babel/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/babel/util.py b/babel/util.py index f46ee2b..a65fce3 100644 --- a/babel/util.py +++ b/babel/util.py @@ -80,7 +80,7 @@ def parse_encoding(fp): raise SyntaxError( "python refuses to compile code with both a UTF8 " "byte-order-mark and a magic encoding comment") - return 'utf_8' + return 'utf-8' elif m: return m.group(1).decode('latin-1') else: |