You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I follow the document and have the following error? Could you help?
I have ensure my windows terminal is running in UTF-8 already:
D:\playground\testParser>python
Python 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 03:37:03) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
Generating init.py <_io.TextIOWrapper name='' mode='w' encoding='utf-8'>
Traceback (most recent call last):
File "d:\andre\python\python36\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "d:\andre\python\python36\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\aNDrE\Python\Python36\Scripts\parserator.exe_main.py", line 9, in
File "d:\andre\python\python36\lib\site-packages\parserator\main.py", line 70, in dispatch
args.func(args)
File "d:\andre\python\python36\lib\site-packages\parserator\main.py", line 118, in init
f.write(parser_template.init_template())
File "d:\andre\python\python36\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u3145' in position 252: character maps to
The text was updated successfully, but these errors were encountered:
I follow the document and have the following error? Could you help?
I have ensure my windows terminal is running in UTF-8 already:
D:\playground\testParser>python
Python 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 03:37:03) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
D:\playground\testParser>parserator init testParser
Initializing directories for testParser <_io.TextIOWrapper name='' mode='w' encoding='utf-8'>
Generating init.py <_io.TextIOWrapper name='' mode='w' encoding='utf-8'>
Traceback (most recent call last):
File "d:\andre\python\python36\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "d:\andre\python\python36\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\aNDrE\Python\Python36\Scripts\parserator.exe_main.py", line 9, in
File "d:\andre\python\python36\lib\site-packages\parserator\main.py", line 70, in dispatch
args.func(args)
File "d:\andre\python\python36\lib\site-packages\parserator\main.py", line 118, in init
f.write(parser_template.init_template())
File "d:\andre\python\python36\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u3145' in position 252: character maps to
The text was updated successfully, but these errors were encountered: