Git Product home page Git Product logo

Comments (4)

BensonLaur avatar BensonLaur commented on June 9, 2024

读取 LRC 文本时,现在没有编码处理:

https://github.com/Beslyric-for-X/Beslyric-for-X/blob/8c70c35118771374539570e71228e82df71705e0/Entities/LrcProcessor.cpp#L19-L36

可参考制作歌词页面 读取原歌词逻辑:

https://github.com/Beslyric-for-X/Beslyric-for-X/blob/8c70c35118771374539570e71228e82df71705e0/Entities/LyricMaker.cpp#L9-L33

from beslyric-for-x.

BensonLaur avatar BensonLaur commented on June 9, 2024

文本编码问题还好之前已经有根据不同编码读取的逻辑了,还差这个 ffmpeg 读取 【Various Artists-小苹果(俄).zip】 歌曲名字的问题

from beslyric-for-x.

BensonLaur avatar BensonLaur commented on June 9, 2024

文件名乱码,具体细节:

界面显示
image

特意写出到文件看看二进制内容
image

看上去还不知道 是本身信息就是错误的,至少结果不是常规的编码(可能是 ffmpeg 读取时就没能正确读取 ?)

百度搜索文本 §Á§Ò§Ý§à§é§Ü§à
发现出现的最类似的结果只有一个网站: https://jamwu.diytrade.com/sdm/ (一家哈尔滨黑龙江的一家公司的网站)

联系到 ”哈尔滨“ 似乎有不少俄罗斯人,以及这个歌本身是俄文歌曲,或许这个网站的乱码就是某种不当的处理俄语内容的方式导致的乱码,这里姑且认定为是歌区信息本身乱码吧

注:歌词本身似乎也不是标准的俄语字体
image

from beslyric-for-x.

BensonLaur avatar BensonLaur commented on June 9, 2024

处理结果:
image

from beslyric-for-x.

Related Issues (20)

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.