What steps will reproduce the problem?
Generate `model.py` using default encoding (without `-s` option)
What is the expected output? What do you see instead?
Emacs complains about encoding on writing the file
{{{
Warning (mule): Invalid coding system `utf8' is specified
for the current buffer/file by the :coding tag.
}}}
What version of the product are you using? On what operating system?
tip
Please provide any additional information below.
Here's default_coding.diff patch:
{{{
diff --git a/sqlautocode/config.py b/sqlautocode/config.py
--- a/sqlautocode/config.py
+++ b/sqlautocode/config.py
@@ -90,7 +90,7 @@
parser.set_defaults(tables=[],
- encoding='utf8',
+ encoding='utf-8',
table_prefix='',
table_suffix='')
}}}
Original issue reported on code.google.com by 4kir4...@gmail.com on 30 Mar 2010 at 11:13
Original issue reported on code.google.com by
4kir4...@gmail.com
on 30 Mar 2010 at 11:13Attachments: