Git Product home page Git Product logo

Comments (5)

 avatar commented on April 28, 2024

Same problem here.

from compact_enc_det.

JinsukKim avatar JinsukKim commented on April 28, 2024

Unfortunately I don't have plans to improve the detection quality. Could you share the data you get poor results with? I can take a look. Hopefully there will be some things to do to get around the issue.

Thanks.

from compact_enc_det.

 avatar commented on April 28, 2024

See the attached file, which is encoded in Windows-1252 but detected as GB18030. Thanks for helping!

ansi.txt

from compact_enc_det.

donlencho avatar donlencho commented on April 28, 2024

I'm joining test files and the results I get, as you can see I'm satisfied with the unicode detections (and mostly for asian encodings) but really disappointed by ISO, particularly for western European languages (ISO-1 and 15 for instance, which are really widespread, see:
https://www.terena.org/activities/multiling/ml-docs/iso-8859.html ).
Thank you in any case!

big5-hkscs.txt		→	BIG5_HKSCS, reliable: false		→ OK
big5.txt		→	BIG5, reliable: false			→ OK
BIG5.txt		→	BIG5, reliable: true			→ OK
euc-jp.txt		→	GB (=GBA8030?), reliable: false		→ ~OK
euc-kr.txt		→	KSC (=?), reliable: false		→ OK
gbk.txt			→	GB (=GBA8030?), reliable: false		→ OK
IBM855.txt		→	CP-1256, reliable: false		→ Not OK
ISO-8859-15-CRLF.srt	→	ASCII, reliable: true			→ Not OK
ISO-8859-15 euro.txt	→	ASCII, reliable: true			→ Not OK
ISO-8859-15 petit test.txt	→	CP1250, reliable: true		→ Not OK
ISO-8859-15.srt		→	ASCII, reliable: true			→ Not OK
ISO-8859-1.srt		→	ASCII, reliable: true			→ Not OK
ISO-8859-6.srt		→	Arabic, reliable: true			→ OK
shift_jis.txt		→	SJC, reliable: true			→ OK
UTF16BE.srt		→	UTF16BE, reliable: false		→ OK
UTF16LE.srt		→	UTF16LE, reliable: false		→ OK
UTF-7.txt		→	ASCII-7 bits, reliable: true		→ OK
UTF8BOM.srt		→	UTF8, reliable: true			→ OK
utf-8 CN.txt		→	UTF8, reliable: true			→ OK
UTF8CRLF.srt		→	UTF8, reliable: true			→ OK
UTF8CR.srt		→	UTF8, reliable: true			→ OK
UTF8LF.srt		→	UTF8, reliable: true			→ OK

encodings.tar.gz

from compact_enc_det.

Lord-Kamina avatar Lord-Kamina commented on April 28, 2024

Just on the off-chance... do you have any idea on how this might be tackled; in case somebody else wants to take a crack at it?

from compact_enc_det.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.