Code Monkey home page Code Monkey logo

Comments (3)

naos avatar naos commented on September 27, 2024

This is soulseek network character encoding problem.
You can solve this issue by changing values in the ~/Library/Application Support/iSoul/0.3/config.xml

change from

<domain id="encoding">
    <key id="filesystem">UTF-8-MAC</key>
    <key id="network">ISO-8859-1</key>
</domain>

to

<domain id="encoding">
    <key id="filesystem">UTF-8-MAC</key>
    <key id="network">UTF-8-MAC</key>
</domain>

Then you will be able to see filenames of your own files correctly.
Before you change the value you need to be sure that iSoul (more precisely museekd) is not running.

This won't solve some other issues such as problem with downloading and uploading files with filenames that contain such characters.

Character encoding for network is set to a value of "ISO-8859-1" for a reason. Currently the majority of clients on the soulseek network are using soulseek version 157 which uses default encoding for specific windows localization (in the case of english and western european localizations that is ISO-8859-1, japanese version is using SHIFT-JIS, korean EUC-KR etc.). There are lots of these encodings and they are not compatible with each other (although the basic latin set - first 128 characters in ASCII encoding is usually supported in all the encodings). Unicode encodings, such as UTF8, are currently the best choice for supporting multilingual environments.

If you make this change, and the user from whom you are downloading (or who is downloading from you) is using soulseek client that natively supports UTF8 encoding (such as soulseekqt) everything will work smoothly. In all other cases it will be problematic to download/upload files with filenames that contain characters from extended character set.
If the character encoding for network is set to "ISO-8859-1" at least you will be able to download from majority of users without the problem (although the filenames won't be displayed correctly in some cases).

from isoul.

djbe avatar djbe commented on September 27, 2024

That's some good info there, @naos. Closing this for now.

from isoul.

jeanravin avatar jeanravin commented on September 27, 2024

Indeed. Thanks for your explanation.

from isoul.

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.