Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: mpd error malformed utf-8 characters, possibly incorrectly encoded
#7
@chaos333

So @Tim Curtis said

Quote:Someone with expertise in Chinese software coding could prolly explain whats going on.

Full disclosure: I am not that person!

However, I'm always interested in learning more about metadata issues. 

As a starter, moOde does support UTF-8 by default.

For example, I just created two test FLAC files-

The first uses common Greek surnames for album title Δημήτρης, artist Ἰάκωβος, and track name Ἑλένη [I chose Greek because I know the alphabet and more-or-less can sound out words].  The names show up fine in moOde 8.0.2 in Library and Playback views. 

The second file uses, instead, popular Chinese surnames 李, 王, and 张 (copied and pasted from a website discussing names). These names also show up fine in moOde 8.0.2.

Neither file triggers display of ? marks (this is the accepted way to signal 'I can't display this character') nor causes error messages to pop up. It didn't matter if the UTF-8 character filter setting was off or on. All this is as I would expect since the files are properly encoded.

Note that each popular music file format such as FLAC, MP3/ID3, etc., has its own conventions for representing and encoding metadata. I'm working only with FLAC files here.

Granted, my naive exercise is not a definitive test of moOde's ability to deal with the entirety of Unicode and UTF-8 encoding but it does makes me wonder about your files. Firstly, are they properly encoded and, secondly, what is it about them which is causing a problem with moOde.

Could you zip up one or more files you know contain Chinese characters, upload the result to a file-sharing site such as Dropbox, Google Drive, or whatever, and send me the link in a private message on this forum? Tim may wish to be Cc'ed as well.

Regards,
Kent

PS - if you haven't already flashed a new copy of moOde, you could try regenerating the library instead of simply updating it. It took a full regeneration for me to get rid of residual effects of one, particularly ill-conceived experiment last fall.
Reply


Messages In This Thread
RE: mpd error malformed utf-8 characters, possibly incorrectly encoded - by TheOldPresbyope - 05-12-2022, 05:49 PM

Forum Jump: