Comments (4)
Hi @Liluoquan
you have to specify the encoding "dbcImportEncoding".
maybe something like dbcImportEncoding="utf8"
from canmatrix.
Hi @Liluoquan
any success?
from canmatrix.
Hi @ebroecker
sorry, it didn't work when i use utf-8, GB2312 or gbk:
_matrix = canmatrix.formats.dbc.load(f, dbcImportEncoding='utf-8')
The error is as follows:
error with line no: 28
b' SG_ \xca\xfd\xd7\xd6\xd6\xa4\xca\xe9\xb4\xe6\xb4\xa2\xb9\xca\xd5\xcf$_W : 20|1@0+(1,0)[0|1] "" Vector__XXX\r\n'
from canmatrix.
Hi @Liluoquan
I did not read your issue completely the fist time - sorry.
You already provided a potential fix. Thanks for it!
I'll add your provided fix soon.
from canmatrix.
Related Issues (20)
- Ethernet arxml parser HOT 4
- Ethernet arxml HOT 1
- Currently supported version of ARXML HOT 3
- Question regarding frame.arbitration_id and MF4 file message ID'S HOT 2
- IndexError: list index out of range canconvert from .dbc to xlsx HOT 2
- DBC issue: Unable to mix J1939 PGNs with standard CAN IDs HOT 5
- arxml to xlsx error HOT 3
- Signal 's default value is not set when converting from DBC to FIBEX HOT 1
- Error while adding xlsx support HOT 2
- Can examples be added on how to decode ethernet messages in arxml files? HOT 1
- Arxml recognizes canfd as can HOT 6
- Release 0.9.5 have been renamed to 1.0 in github releases HOT 3
- Convert arxml file to dbc file wrong HOT 7
- Wrong min/max scaling when signal has slope or offset HOT 2
- Python3.12 compatibility / drop 'future' dependency HOT 5
- Loading arxml with Ethernet data Performance is extremely bad on development branch(2023-12-15) HOT 6
- use Canmatrix create dbc HOT 7
- Convert excel to DBC with Canmatrix HOT 1
- Convert DBC to arxml failed HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from canmatrix.