Comments (4)
The way the indices are calculated seems kind of bizarre (at least from what my text editors are showing me). There seems to be an extra character in every line at first, but then that breaks down.
from zhongwen.
Most lines seem to count as an extra character, but not every line. Going to try using a different editor. This might be affecting the actual app too? At least some characters towards the bottom of cedict_ts.u8 aren't detectable. For instance, 𬭳 isn't detectable as well as the other 10 final entries.
from zhongwen.
Upon further investigation, this seems to be an error with the encoding scheme used. The one extra character per line comes from \r\n. But other extra characters appear because characters like 𪨊 get rendered as ��.
from zhongwen.
I have written a python script that updates the indices. I'll consider refactoring it so it's easy to use for others, but everything anyone would need to update indices in updateidx.py in my fork of the project.
from zhongwen.
Related Issues (20)
- 'c' for clipboard does not work under Google doc
- Cross device transfer of list HOT 1
- Publish your extension to Microsoft Edge Addons website HOT 3
- Link to Skritter outdated HOT 1
- Dictionary look up when hovering over Youtube subtitle doesn't work HOT 1
- Adding content.js to be available under Devtools HOT 1
- Request: English-Chinese features for the use of Chinese students learning English. HOT 1
- Request: Please list definitions in order of most common to least common HOT 2
- Changing definitions in cedict_ts.u8 has side effects HOT 1
- No longer working on Google Docs? HOT 16
- Request: Option to only show pinyin (hide English definition) HOT 2
- Technical Documentation to help others debug why Zhongwen ext. is not working with some resources HOT 9
- Zhongwen Not Working with Google Documents HOT 7
- Read the database
- URL with chindict/chindict.php is no longer accepted by mdbg.net
- Mobile support HOT 2
- [feature request] Can you please make it work with Amazon Prime subtitles?
- How to make it working with Readmoo reader HOT 10
- Include radicals or components information? HOT 2
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 zhongwen.