Bug 1413 - UTF8 characters not displayed correctly in player
: UTF8 characters not displayed correctly in player
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Player UI
: 6.0.1
: PC Windows XP
: P2 enhancement (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-22 00:58 UTC by Arnon Meshoulam
Modified: 2009-09-08 09:29 UTC (History)
0 users

See Also:
Category: ---


Attachments
Screen shot of corrupted font (2.25 MB, image/bmp)
2005-04-22 01:03 UTC, Arnon Meshoulam
Details
Graphics font (3.12 KB, image/bmp)
2005-04-22 01:06 UTC, Arnon Meshoulam
Details
Tagged MP3 (5.97 MB, audio/mpeg)
2005-04-22 01:13 UTC, Arnon Meshoulam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arnon Meshoulam 2005-04-22 00:58:11 UTC
higher ascii (non-latin) characters are displayed incorrectly when using a 
Graphics.bmp which contains these characters.
To clarify - UTF8 tags ARE displayed correctly in Web UI
Using a graphics.bmp where higher ascii are mapped out displays correctly on 
Wireless SB and SS in version 5.x but not in versions 6
Confirmed in both 6.01 and 6.02 21/4/2005 build

Will add links to sample screenshot, graphics.bmp and non-latin tagged mp3
Comment 1 Arnon Meshoulam 2005-04-22 01:03:29 UTC
Created attachment 442 [details]
Screen shot of corrupted font
Comment 2 Arnon Meshoulam 2005-04-22 01:06:10 UTC
Created attachment 443 [details]
Graphics font
Comment 3 Arnon Meshoulam 2005-04-22 01:13:25 UTC
Created attachment 444 [details]
Tagged MP3
Comment 4 Arnon Meshoulam 2005-05-14 07:14:42 UTC
Have solved this via a workaround. However, need to find a long-term solution.
Bidirectional display is solved by a Bidi CPAN module.
Display of appropriate ASCII font from the font bmp is changed by making the 
following change in Slim::Display::string
From:
if ($ord > 255) {
    $ord = 63;
}
to 
if ($ord > 255) {
   }  if ($ord >=1488 && $ord <= 1514) {
          $ord = $ord -1264;
   } else {
    $ord = 63;
}
However, this workaround is specific for Hebrew characters 1488-1514 range and 
the appropriate 224-250 ASCII range.
As each of the international chars will be mapped to the same ASCII range, we 
need to be able to identify what the offset is. Perhaps a configuraiton file, 
or imbedd the offset in the specific font file?

Comment 5 Blackketter Dean 2005-08-19 22:16:57 UTC
With the new Unicode fonts, is this still an issue?
Comment 6 Dan Sully 2005-08-23 22:55:28 UTC
Nope - this is fixed.