Skip to content

UnicodeEncodeError: 'charmap' codec can't encode character '\u03bc' in position 5065: character maps to <undefined> #55

@djdylex

Description

@djdylex

Hi, i'm trying to convert a pdf using the command below:

python -m QuickReaderPDF pdf D:/Dominic/Documents/Ariel_RedBook_Nov2020.pdf outputfile

But i get the error:

(process:38112): GLib-GIO-WARNING **: 14:15:32.872: Unexpectedly, UWP app `Microsoft.ScreenSketch_11.2312.33.0_x64__8wekyb3d8bbwe' (AUMId `Microsoft.ScreenSketch_8wekyb3d8bbwe!App') supports 29 extensions but has no verbs

(process:38112): GLib-GIO-WARNING **: 14:15:32.890: Unexpectedly, UWP app `Clipchamp.Clipchamp_2.9.1.0_neutral__yxz26nhyzhsrt' (AUMId `Clipchamp.Clipchamp_yxz26nhyzhsrt!App') supports 41 extensions but has no verbs
Traceback (most recent call last):
  File "C:\Users\domin\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\domin\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\domin\AppData\Local\Programs\Python\Python310\lib\site-packages\QuickReaderPDF\__main__.py", line 6, in <module>
    main_func(sys.argv[1], sys.argv[2], sys.argv[3])
  File "C:\Users\domin\AppData\Local\Programs\Python\Python310\lib\site-packages\QuickReaderPDF\pdfeditor.py", line 185, in main_func
    output_file.write(html)
  File "C:\Users\domin\AppData\Local\Programs\Python\Python310\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 '\u03bc' in position 5065: character maps to <undefined>

I'm trying to convert the Ariel RedBook

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions