Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running under Windows #4

Open
clach04 opened this issue Jan 8, 2022 · 0 comments
Open

Error running under Windows #4

clach04 opened this issue Jan 8, 2022 · 0 comments

Comments

@clach04
Copy link

clach04 commented Jan 8, 2022

Getting error:

C:\code\py\tab2opf>py -3   tab2opf.py  -t gcide C:\Users\user\Downloads\dictionary\gcide\stardict.txt
Reading keys
Writing keys
Traceback (most recent call last):
  File "tab2opf.py", line 329, in <module>
    ndicts = writekeys(defns, name)
  File "tab2opf.py", line 252, in writekeys
    writekey(to, key, defns[key])
  File "tab2opf.py", line 229, in writekey
    to.write('; '.join(ndefn for _, ndefn, _ in g))
  File "C:\Users\user\AppData\Local\Programs\Python\Python37\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 '\u0227' in position 49: character maps to <undefined>
clach04 added a commit to clach04/tab2opf that referenced this issue Jan 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant