Stan Seibert
2003-Jul-06 03:28 UTC
[vorbis] vorbiscomment causes "Illegal UTF-8 sequence in comment"
On Sun, 2003-07-06 at 09:01, Anosh Ullenius wrote:> Could someone please tell me what I'm doing wrong here? I have some oggs tagged using other applications and ogginfo doesn't give me any warnings when I use UTF-8 in them. > > I did the following: > > $ vorbiscomment --raw -a test.ogg -t "test=åäö" > $ vorbiscomment --raw -l test.ogg > test=åäö--raw forces vorbiscomment to assume that whatever you are typing is already in UTF-8. However, if you are trying to save these three characters, they will need to be converted to UTF-8. Try repeating your test, but without the --raw option. --- Stan Seibert <p><p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Anosh Ullenius
2003-Jul-06 07:01 UTC
[vorbis] vorbiscomment causes "Illegal UTF-8 sequence in comment"
Could someone please tell me what I'm doing wrong here? I have some oggs
tagged using other applications and ogginfo doesn't give me any warnings
when I use UTF-8 in them.
I did the following:
$ vorbiscomment --raw -a test.ogg -t "test=åäö"
$ vorbiscomment --raw -l test.ogg
test=åäö
$ ogginfo -v test.ogg
Processing file "test.ogg"...
New logical stream (#1, serial: 0e0c0b11): type vorbis
Vorbis headers parsed for stream 1, information follows...
Version: 0
Vendor: Xiph.Org libVorbis I 20020717 (1.0)
Channels: 2
Rate: 44100
Nominal bitrate: 64.001000 kb/s
Upper bitrate not set
Lower bitrate not set
User comments section follows...
Warning: Illegal UTF-8 sequence in comment 0 (stream 1): invalid sequence
Vorbis stream 1:
Total data length: 926636 bytes
Playback length: 1m:55s
Average bitrate: 64.127059 kbps
Logical stream 1 ended
-------------- next part --------------
A non-text attachment was scrubbed...
Name: part
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
Url :
http://lists.xiph.org/pipermail/vorbis/attachments/20030706/7ca5f4bc/part-0001.pgp