Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Vorbis comments garbled under Linux (Read 3632 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Vorbis comments garbled under Linux

Hi,

I'm using EAC on windows with this commandline to encode my oggs:

Code: [Select]
-N %n -t "%t" -a "%a" -l "%g" -d %y -c "ENCODING PARAMETERS=-q 4"


When I use ogginfo under Linux to display the tags it gives my garbled characters where used to be German umlaute like ü, ö, ä etc. As far as I understand from ogg vorbis mailinglist is that vorbis comments are always utf8, but windows has some problems with codepages ? Hmm, does anybody have suggestions how to change my encoding style such that I enjoy correct tag display on both windows and linux ?
Is there a way to correct my already existing files on linux ?

Thanks.

Vorbis comments garbled under Linux

Reply #1
Open an ogg file in a hex editor, e.g. in khexedit. For every non english character you should see 2 characters instead of just one. If not, EAC or windows obviously did something wrong. If you are using windows 98 or even 95, that might be the cause. All ogg vorbis files I encoded with cdex under win xp are fine. Even with ogginfo (konsole) under linux I get proper characters displayed, as well as in xmms of course.

I had similar problems with some flac files (flac also uses vorbis comments & utf8). When I corrected tags with xmms the data was not written using utf8. Then I had to change tags from command line. Try command "vorbiscomment".

Vorbis comments garbled under Linux

Reply #2
That's weird, when I use "vorbiscomment -l my.ogg" I get correct display of these characters, whereas ogginfo and XMMS return garbage.

I used WinXP too to create the files. When I check the files with hexedit I have two dots where the umlaut character should be. Don't know what that means though. Maybe I should check out CDex if it produces different tags than EAC + oggenc, but I would really like to keep my current configuration.

Vorbis comments garbled under Linux

Reply #3
Then you probably just need to set the appropriate char-set (I have iso 8859-2, that is  for mid-european, but I also see right german letters) in xmms. I guess same goes for Konsole.

Vorbis comments garbled under Linux

Reply #4
My language environment is set to de_DE and folder and file names display correctly. I googled for char-set quite a while, but didn't find anything useful. Can you give me a hint how to change it ?

 

Vorbis comments garbled under Linux

Reply #5
Again about the tags... I just checked a file with ü and ö in vorbis comments and for ü there are these 2 characters (in hex): c3 bc, and for ö: c3 b6. If you see the same values when yuo open with a hex editor, you can be sure the files are ok and it's the fonts/charsets that need to be fixed.

For xmms:

in options -> settings (crtl P) select "fonts" tab. Make sure support for multibyte is enabled.
In the same tab you can choose a font for playlist and a font for main window. I changed the playlist font to:
Code: [Select]
-adobe-helvetica-bold-r-normal-*-*-120-*-*-p-*-iso8859-2

The part that matters is iso8859-X, where X is 1 or 15 for western, 2 for middle european, for others I don't know. I think umlaut characters should work ok with any of 1, 2 or 15. I suggest you rather browse for font than copy&paste mine, just in case you maybe don't have exactly that font installed. Charsets are at "filter" tab.
That's all I changed and all characters are displayed correctly.

For command line (ogginfo, vorbiscomment) I don't know, for me umlaut characters worked out of the box, although my system is set to slovenian language. Maybe you should try *that*