Bug 3011 - Unicode characters in Database
: Unicode characters in Database
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Database
: 6.5b1
: PC Windows XP
: P2 major (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-02-16 04:49 UTC by steliosb
Modified: 2008-09-15 14:39 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description steliosb 2006-02-16 04:49:43 UTC
For my surprise reading the contents of the database I realized that in sqlite database Unicode characters are not displayed correct (only latin characters are displayed correct)

So I changed to Mysql but with the same results (even if using utf8 character set and collation).

 
Slimserver�s UI seems to can handle this correct except when you try to rename a playlist written in Unicode characters ( the strange characters appear then in the UI ).

 
Can someone explain to me why this happens technically in order to overpass it?

Or to mimic the behavior of slimserver�s UI ?

How slimeserver writes bad the Unicode characters in database but read and displays them correct on the UI?
Comment 1 KDF 2006-02-16 08:46:25 UTC
Have you tried the latest nightly?  I'm assuming, since you set the target to 6.2.1, that you really meant that you are working with 6.2.1.

Before reporting bugs, you really should try either the latest stabel nightly, 6.2.2 at http://www.slimdevices.com/downloads/nightly/latest

or the experimental 6.5
Comment 2 steliosb 2006-02-17 01:10:06 UTC
I tried the latest build 6.5b and the problem is still there

slimserver writes strange characters to the database in place of unicode characters.
(tested with mysql query browser , or mysql odbc connector , sqlite odbc connector)

how can i serach the database with an external tool then?
Comment 3 KDF 2006-02-17 09:06:07 UTC
and your viewers support display of unicode?
Comment 4 KDF 2006-02-17 09:17:27 UTC
what is the server version string at the bottom of server settings?
have you setup windows to handle international characters in your regional settings?
Comment 5 steliosb 2006-02-20 02:03:12 UTC
(In reply to comment #4)
> what is the server version string at the bottom of server settings?
> have you setup windows to handle international characters in your regional
> settings?


SlimServer Version: 6.5b1 - 6273 - Windows XP - EN - cp1253 
of course I setup windows to handle international characters
Comment 6 Dan Sully 2006-04-10 22:53:45 UTC
This should be fixed in change 6892.

You'll need to drop and recreate the DB - use the 2006-04-11 6.5 nightly to create the DB.