Comments (2)
This has not been the main repository for uchardet for years now, as is written on the README. Please do not report bugs here but on the freedesktop bug tracker: https://gitlab.freedesktop.org/uchardet/uchardet
In any case, for your specific issue, there won't be a solution anyway. No system in the world can determine with certainty a 9-character text mixing 2 languages, and without actual meaning! It's like this text is gathering all the reasons to make it impossible to detect.
uchardet
works statistically, detecting character usage, but also character sequence usage. This way, it detects a (charset, language) couple. For this to work efficiently, it needs long enough text (a full sentence at least) in a known language. It is not meant to recognize words, and worse 2 words of different languages/character sets.
from uchardet.
This has not been the main repository for uchardet for years now, as is written on the README. Please do not report bugs here but on the freedesktop bug tracker: https://gitlab.freedesktop.org/uchardet/uchardet
In any case, for your specific issue, there won't be a solution anyway. No system in the world can determine with certainty a 9-character text mixing 2 languages, and without actual meaning! It's like this text is gathering all the reasons to make it impossible to detect.
uchardet
works statistically, detecting character usage, but also character sequence usage. This way, it detects a (charset, language) couple. For this to work efficiently, it needs long enough text (a full sentence at least) in a known language. It is not meant to recognize words, and worse 2 words of different languages/character sets.
got it! thank you!
from uchardet.
Related Issues (20)
- Windows-1251 detection failed on a file in Russian. HOT 1
- Invalid WINDOWS-1255 file detected as WINDOWS-1255 HOT 10
- Detect files whose encoded has been corrupted by a text editor ? HOT 1
- PACKAGE_NAME opencc??? HOT 1
- Add a dbus service HOT 1
- Transferring to uchardet organization? HOT 17
- GB18030 file detected as WINDOWS-1252 HOT 6
- Can't detect GBK. HOT 2
- Next release HOT 4
- WINDOWS-1253 file detected as ISO-8859-7 HOT 10
- Possibly incomplete project license HOT 2
- LangModels refs error HOT 21
- Cast unsigned int HOT 1
- The code make me egg pain. HOT 1
- Can this code be used to make a Windows DLL? How? HOT 6
- UTF-8 with right single quote (U+2019) mistaken as Windows-1250 HOT 2
- lower case german umlauts in utf-8 are detected incorrectly HOT 1
- Make a portable executable
- libuchardet-ios.a能不能支持下iOS Simulator~~~~ HOT 1
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 uchardet.