Code Monkey home page Code Monkey logo

Comments (2)

x1angli avatar x1angli commented on June 27, 2024

@UVJkiNTQ
Thank you for your feedback along with detailed information

  • the SW-030GAMERS.cue file in your zip, sorry but that file looks good. is there any problem?

  • the SW-030GAMERS.log file. Yes it's totally scrambled.

The reason: cvt2utf relies on a 3rd-party tool called chardet to detect codc/charsets. chardet is generally good, but it has a cryptic and confusing probabilistic model, which makes the codec erroneously detected in certain cases. In order to ameliorate this problem, our cvt2utf uses some tricks. However, these tricks may break or fail in other cases...

At this moment, you can follow the instruction below to temporarily solve this flaw

  1. git clone or download the source code
  2. go to Line 20 of cvt2utf/main.py
  3. drop the latin-1, so as to make it look like 'codec_chain': ['ascii', 'utf_8_sig', 'chardet'],
  4. go to terminal / cmd, cd to the cvt2utf folder (the upper cvt2utf folder, not the lower sub-folder), run python3 -m cvt2utf.main convert "./error" -i log (change the path to your path)

As a result, it can be correctly recognized as UTF-16 and transcoded to Latin-1. I tried on my machine and the generated SW-030GAMERS.log looks good.
let me know if you run into any further problem

Note 1: cvt2utf8 is not intended for general users, instead, it aims at coding-savvy users . Though I've tried my best to make it easy to use, yet still, users are expected to understand how it works.........

Note 2: dropping latin-1 may work in this case, but may break things in other cases....

from cvt2utf.

UVJkiNTQ avatar UVJkiNTQ commented on June 27, 2024

That cue seems good. I am sorry for that. It just looks bad in nano.
I will try the workaround.
Thanks.

from cvt2utf.

Related Issues (6)

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.