jmplonka / InventorLoader

Workbench for FreeCAD to loads or import Autodesk (R) Inventor (R) files.
GNU General Public License v2.0
119 stars 17 forks source link

encoding and decoding #51

Closed superbin1996 closed 2 years ago

superbin1996 commented 3 years ago

Dear sir, In those below files, maybe more due to my weak memory. importerUtils.py, InventorViewProviders.py, importerIL.py, Import_IPT.py, importerReader.py

instead of and , you typed <'utf-8'> and and

Normal people with English windows don't have this problem. But i am using Japanese windows, so it can't run and there are a lot of error alerts like "'cp932' codec can't decode byte..." I can see many people have this problem too.

It is simple too fix anyway if the alert were more accurate

jmplonka commented 2 years ago

Hello,

sorry for the inconveniences. Indeed I had lots of problems to get it working on my machine.

Until now I'm facing some issues: a) Missing sample files to reproduce the behaviour. b) No idear how to change coding (e.g. japanese) without loosing information about what I see / do.

Maybe you can give me some advice how come along?

Sincerely yours Jens M. Plonka

dinosauria123 commented 2 years ago

This problem may fix by attached file. importerUtils.py.txt

jmplonka commented 2 years ago

Fix is uploaded.