Bug 2196 - Slimserver incorrectly interprets UTF8 encoded 0xA0 Non-breaking space character
: Slimserver incorrectly interprets UTF8 encoded 0xA0 Non-breaking space character
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Database
: 6.2.0
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-09-25 13:55 UTC by Gordon Harris
Modified: 2008-09-15 14:36 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
Zip file containing test files which demonstrate the bug (10.23 KB, application/octet-stream)
2005-09-25 13:56 UTC, Gordon Harris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gordon Harris 2005-09-25 13:55:04 UTC
Slimserver 6.2 incorrectly interprets 0xA0 Non-breaking space characters in 
cuesheet files, both external and flac embedded when they are UTF8 encoded.
 
All flac embedded metafile cuesheets are UTF8 encoded by default and (I think) 
according to the vorbis tag spec.  

Character 0xA0 (in ansi) or 0xC2,0xA0 (UTF8) represents a non-breaking space 
and should be interpreted as a valid character in metadata by slimserver.

The posted zip file includes testfiles which demonstrate the bug.

Steps to reproduce the bug:

1). Download the posted zip file and extract the test files to a folder.
2). Set Slimserver's music folder to the folder containing the test files.
3). Perform a "Clear library and rescan everything."
3). Browse the library to the album "Test cuesheet with 0xA0 non-breaking 
spaces, UTF8 encoded"

What you will observe:

Slimserver 6.2 correctly parses metadata and and indexes the ansi encoded 
cuesheet that contain 0xA0 characters.  With the UTF8 encoded cuesheet, 
however, Slimserver does not extract TITLE information for the tracks that 
include 0xA0 characters in their title metadata.  These tracks get no title 
information associated with them.

Slimserver can't deal with the unicode encoded cuesheet files at all, but that 
should probably be thought of as a separate bug.
Comment 1 Gordon Harris 2005-09-25 13:56:34 UTC
Created attachment 857 [details]
Zip file containing test files which demonstrate the bug
Comment 2 Nestor 2005-09-27 08:17:03 UTC
Hi, 
it seems Im hitting this same bug.

Gordon, can you try adding a 0xA0 Non-breaking space character in the TITLE of
the  album? If after that the album does not show up in the album list, then I
guess we are in the same situation.

BTW, I think this is the cause of another issue I wash having, with genres that
include space characters not showing up in the Genres list. I will try to
confirm it.

thanks!
Néstor
Comment 3 Dan Sully 2005-09-27 14:35:32 UTC
This works fine on OSX - again, appears to be a Windows specific problem.
Comment 4 Dan Sully 2005-09-27 15:07:56 UTC
Fixed in subversion change 4441