Bug#394797: Album browser mangles non-ascii characters (double utf-8)

2007-03-10 Thread Martin Bergström
Joe Wreschnig wrote:
 On Mon, 2006-10-23 at 09:18 +0200, Martin Bergström wrote:
4 spår - 16 minuter, 45 sekunder
 Notice that the album-title and artist are displayed correctly even
 though they contain the non-ascii character ö, but the å in spår is
 displayed like å.

 There may have been an 11th hour fix for this in QL 0.24 (which I don't
 think is in Debian yet). But since I can't reproduce it, I'm not
 certain.

I just tried release 0.24 of QL from subversion, and I can confirm that
it seems to have fixed this bug.

Cheers,

Martin Bergström


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#394797: Album browser mangles non-ascii characters (double utf-8)

2006-10-27 Thread Martin Bergström
Joe Wreschnig wrote:
 On Mon, 2006-10-23 at 09:18 +0200, Martin Bergström wrote:
  4 spår - 16 minuter, 45 sekunder

 Notice that the album-title and artist are displayed correctly even
 though they contain the non-ascii character ö, but the å in spår is
 displayed like å.

 It seems to be doubly utf-8 encoded.
 
 Thanks for the detailed explanation of the problem. You're correct that
 there's a double encode happening somewhere, at least based on those
 symptoms. Unfortunately, I can't reproduce it locally, nor can other QL
 developers.

Bummer.

 Can you please send me your ~/.quodlibet/config and
 ~/.quodlibet/album_pattern files (as attachments, not inline)? If you're
 using the AudioScrobbler plugin you should scrub your password from the
 config file first.

~/.quodlibet/config attached. I have no ~/.quodlibet/album_pattern file
or any file named album-anything in ~/quodlibet.

I see nothing obvious in the config file, please advise if there's
anything else I can do to help diagnose and fix the problem.
[header_maps]

[rename]
windows = true
spaces = false
ascii = false

[exfalso]
shutup = false

[settings]
ratings = 4
pipeline = 
repeat = false
scan = /home/martin/media/audio
jump = true
headers = ~#track ~artist~performer ~title~version ~#rating ~#length ~#added
disable_hints = false
gain = 0

[memory]
shufflequeue = false
volume = 0.9
browser = AlbumList
song = /home/martin/media/audio/mycds/Aphex Twin/1999 - Windowlicker/01. Aphex 
Twin - Windowlicker.ogg
queue = True
sortby = 0~#track
songlist = True
order = shuffle
size = 1043 975

[player]
time_remaining = true
replaygain = false

[tagsfrompath]
add = false
underscores = false
split = false
titlecase = true

[browsers]
panes = ~people album   ~year
playlist = Trois Morceaux en forme de poire
albumlist_pos = 0.355533790402
playlists_pos = 0.294809010774
panedbrowser_pos = 0.453316953317
color = true
pane_selection = Koop
bAlla/b
2006
album_covers = true
background = 
filesystem = /home/martin/media/audio/mycds/various/2006 - Hed Kandi 60 Beach 
House/CD01
/home/martin/media/audio/mycds/various/2006 - Hed Kandi 60 Beach 
House/CD02
filesystem_pos = 0.251714005877
audiofeeds_pos = 0.399608227228
albums = 
query_text = album = 'Hed Kandi: Winter Chill 06.04'c
album_sort = 2

[plugins]
gajim_status_statuses = online
gajim_status_paused = True
icon_modifier_swap = false
animosd_delay = 2500
wikipedia = en
gajim_status_accounts = 
portablecopy_pattern = artist - title
animosd_string = album|\b\album\/b\discnumber| - Disc 
discnumberpart| - \b\part\/b\tracknumber| - tracknumber
\span weight='bold' size='large'\title\/span\ - ~lengthversion|
\small\\i\version\/i\\/small\~people|
by ~people
browsefolders = nautilus
animosd_pos_y = 1.0
portablecopy_path = /home/martin/tmp/mp3sync
icon_window_visible = false
icon_tooltip = 
album|artist~album~discnumber~part~tracknumber~title~version|artist~title~version
animosd_text = #ffd096
active = Animated On-Screen Display
CDDB lookup
Search album in wikipedia
Search artist in wikipedia
View in Nautilus
animosd_font = Gentium 22
active_songsmenuplugins = Copy to portable
View in Nautilus
write_cover = /home/martin/.quodlibet/current.cover
gajim_status_pattern = artist - title
active_eventplugins = Last.fm Submission
Notify
Tray Icon
animosd_fill = #ffd0965b
active_editingplugins = Title Case

[editing]
split_on =  , /
id3encoding = 
save_to_songs = true
save_email = [EMAIL PROTECTED]
alltags = true



Bug#394797: Album browser mangles non-ascii characters (double utf-8)

2006-10-25 Thread Joe Wreschnig
On Mon, 2006-10-23 at 09:18 +0200, Martin Bergström wrote:
 Package: quodlibet
 Version: 0.23.1-1
 Severity: normal
 Tags: l10n
 
 I'm running Quod Libet using the Swedish translation in a sv_SE
 locale (iso88591) under Debian etch/testing.
 
 In Swedish track is spår (both in singular and plural).
 
 Using the default pattern in the album browser, an album in the box
 listing the albums is displayed like this[1]:
 
   Sneda ögons EP
   4 spår - 16 minuter, 45 sekunder
   Karin Ström
 
 Notice that the album-title and artist are displayed correctly even
 though they contain the non-ascii character ö, but the å in spår is
 displayed like å.
 
 It seems to be doubly utf-8 encoded.

Thanks for the detailed explanation of the problem. You're correct that
there's a double encode happening somewhere, at least based on those
symptoms. Unfortunately, I can't reproduce it locally, nor can other QL
developers.

Can you please send me your ~/.quodlibet/config and
~/.quodlibet/album_pattern files (as attachments, not inline)? If you're
using the AudioScrobbler plugin you should scrub your password from the
config file first.
-- 
Joe Wreschnig [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Bug#394797: Album browser mangles non-ascii characters (double utf-8)

2006-10-23 Thread Martin Bergström
Package: quodlibet
Version: 0.23.1-1
Severity: normal
Tags: l10n

I'm running Quod Libet using the Swedish translation in a sv_SE
locale (iso88591) under Debian etch/testing.

In Swedish track is spår (both in singular and plural).

Using the default pattern in the album browser, an album in the box
listing the albums is displayed like this[1]:

Sneda ögons EP
4 spår - 16 minuter, 45 sekunder
Karin Ström

Notice that the album-title and artist are displayed correctly even
though they contain the non-ascii character ö, but the å in spår is
displayed like å.

It seems to be doubly utf-8 encoded.

This is very ugly when it's repeated for every album in the list. I
guess it's even worse garbled in a language not using a variant of the
latin alphabet such as ru or ja.

Similarly, but not as critical, using the default pattern

\b\title|\i\title\/i\|Låtar utan album\/b\date| (date)
\small\~discs|~discs - ~tracks - ~long-length\/small\
people

the preview in the preferences dialog for the album browser displays

Album (2004-10-31)
2 skivor - 5 spår - 1 timma, 45 minuter
Artist, Uppträdande, Arrangör

while it should be displayed as

Album (2004-10-31)
2 skivor - 5 spår - 1 timma, 45 minuter
Artist, Uppträdande, Arrangör

Låtar utan album (Songs not in an album) is displayed correctly in
the list.

No other part of QL exhibits the same problem as far as I can tell. [2]

/Martin, hoping the strange characters survives mail-transport =)


[1] Sneda ögons EP would be literally Slanted eyes' EP. Karin
Ström is the artist.

[2] Well, the preferences for the Alarm Clock and Lullaby plugins
display the weekday names Monday, Saturday and Sunday as _m?ndag,
_l?rdag and _s?ndag instead of måndag, lördag and söndag, but that
doesn't bother me as much. Someone else will have to submit a
bug report about that.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-k7
Locale: LANG=sv_SE, LC_CTYPE=sv_SE (charmap=ISO-8859-1)

Versions of packages quodlibet depends on:
ii  exfalso   0.23.1-1   audio tag editor for GTK+
ii  gstreamer0.10-plugins-base0.10.10-1  GStreamer plugins from the
ii  gstreamer0.10-plugins-good0.10.3-3   GStreamer plugins from the
ii  gstreamer0.10-plugins-ugly0.10.4-1   GStreamer plugins from the
ii  python2.4.3-11   An interactive high-level
ii  python-central0.5.6  register and build utility
ii  python-gst0.100.10.5-5   generic media-playing

Versions of packages quodlibet recommends:
ii  gstreamer0.10-alsa0.10.10-1  GStreamer plugin for ALSA
ii  gstreamer0.10-gnomevfs0.10.10-1  GStreamer plugin for
ii  python-feedparser 4.1-5  Universal Feed Parser for
ii  quodlibet-ext 0.23.1-1   extensions for the Quod

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]