GNOME Bugzilla – Bug 582896
Invalid character encoding for iso-8859-7
Last modified: 2009-11-12 12:48:20 UTC
Hello to all!... Unfortunately Banshee does not display greek characters in the right encoding. For example in the track's name I see Çìåñïëüãéï instead of Ημερολόγιο. So the problem is that banshee uses iso-8859-1 to display such information, while my tag information is in iso-8859-7. When I right click the track and go to "Edit Track Information", I am experiencing the same problem, every Greek character is badly displayed. However, when I go to the Properties Tab of the Track Editor, Greek characters in "Directory" and "Full Path" field are properly being displayed.... Would you recommend any solution for my problem? Thank you very much, Constantine Tsardounis http://costis.name
Is it and mp3 file? If it is, which tag version does it have, ID3v1 or ID3v2? Could you install eye3D and run this from the terminal: $ eye3D -v /path/to/file.mp3
Thank you so much for your response, Alexander. All the postscripted examples are using Gnome's Terminal. It's bad for my case, right? ============= It should be: ============= Hmerologio.mp3 [ 3.85 MB ] ------------------------------------------------------------------------------- Time: 04:12 MPEG1, Layer III [ 128 kb/s @ 44100 Hz - Joint stereo ] ------------------------------------------------------------------------------- ID3 v1.1: title: Ημερολόγιο artist: Συνήθεις Ύποπτοι album: Μέρες Αδέσποτες year: None track: 1 genre: Unknown (id 255) ------------------------------------------------------------------------------- ID3 Frames: <Title/songname/content description (TIT2): Ημερολόγιο> <Lead performer(s)/Soloist(s) (TPE1): Συνήθεις Ύποπτοι> <Album/Movie/Show title (TALB): Μέρες Αδέσποτες> <Track number/Position in set (TRCK): 01> <Content type (TCON): (255)> (I received the above pasting the second example below (that with Çìåñïëüãéï characters) changing the encoding from iso8859-1 to iso8859-7 from kate) Instead I receive: ============ 1st example: ============ $ export LC_ALL=el_GR $ eyeD3 -v Hmerologio.mp3 Hmerologio.mp3 [ 3.85 MB ] ------------------------------------------------------------------------------- Time: 04:12 MPEG1, Layer III [ 128 kb/s @ 44100 Hz - Joint stereo ] ------------------------------------------------------------------------------- ID3 v1.1: title: ?????????? artist: ???????? ??????? album: ????? ????????? year: None track: 1 genre: Unknown (id 255) ------------------------------------------------------------------------------- ID3 Frames: <Title/songname/content description (TIT2): ??????????> <Lead performer(s)/Soloist(s) (TPE1): ???????? ???????> <Album/Movie/Show title (TALB): ????? ?????????> <Track number/Position in set (TRCK): 01> <Content type (TCON): (255)> ============ 2nd example: ============ $ export LC_ALL=el_GR.UTF-8 $ eyeD3 -v Hmerologio.mp3 Hmerologio.mp3 [ 3.85 MB ] ------------------------------------------------------------------------------- Time: 04:12 MPEG1, Layer III [ 128 kb/s @ 44100 Hz - Joint stereo ] ------------------------------------------------------------------------------- ID3 v1.1: title: Çìåñïëüãéï artist: ÓõíÞèåéò ¾ðïðôïé album: ÌÝñåò ÁäÝóðïôåò year: None track: 1 genre: Unknown (id 255) ------------------------------------------------------------------------------- ID3 Frames: <Title/songname/content description (TIT2): Çìåñïëüãéï> <Lead performer(s)/Soloist(s) (TPE1): ÓõíÞèåéò ¾ðïðôïé> <Album/Movie/Show title (TALB): ÌÝñåò ÁäÝóðïôåò> <Track number/Position in set (TRCK): 01> <Content type (TCON): (255)> ============ 3rd example: ============ $ export LC_ALL=el_GR.ISO-8859-7 $ eyeD3 -v Hmerologio.mp3 Traceback (most recent call last):
+ Trace 215538
from eyeD3 import *;
LOCAL_ENCODING = locale.getpreferredencoding(do_setlocale=True);
setlocale(LC_CTYPE, "")
return _setlocale(category, locale)
(In reply to comment #2) > ID3 v1.1: Well, that explains it. The problem with ID3v1 is that it supports only ISO-8859-1 [1], if you want Unicode characters you need to convert the tags to ID3v2. In the past I used a tool called ID3iconv [2] to convert. You can also use a full-fledged tagger such as MusicBrainz Picard [3] to properly tag your music files. I personally always do this before adding any files to my library. I'm closing the bug as NOTGNOME, feel free to email me directly if you have troubles updating your tags. [1] http://en.wikipedia.org/wiki/Id3#Criticisms_and_problems [2] http://www.cs.berkeley.edu/~zf/id3iconv/ [3] http://musicbrainz.org/doc/PicardTagger
*** Bug 601660 has been marked as a duplicate of this bug. ***