From taglib-devel Sun Feb 04 22:16:00 2007 From: =?UTF-8?Q?Luk=C3=A1=C5=A1_Lalinsk=C3=BD?= Date: Sun, 04 Feb 2007 22:16:00 +0000 To: taglib-devel Subject: Re: bug encoding multibyte? Message-Id: <1170627360.5780.35.camel () nemo> X-MARC-Message: https://marc.info/?l=taglib-devel&m=117062738005035 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0525266706==" --===============0525266706== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-01qjxinZidTi4xbjaMXm" --=-01qjxinZidTi4xbjaMXm Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Pi, 2007-02-02 at 00:12 +0000, Ray wrote: > hi, >=20 > i've been having problem storing multibyte strings in > mp3 tags -- i verify the input going in looks valid, > but when i read the tag out of the mp3 and examine the > data, it looks like garbage. >=20 > can someone tell me if this is a mistake on my part? It works fine here. My best guess would be that test.mp3 already contains a TPE1 frame, but with encoding set to ISO-8859-1. Function setArtist will reuse the existing frame and just set the text, without changing the encoding to the default one (UTF-8). (Btw, it would be better to send source code in attachments as the word-wrap broke it. Also I guess "foo喆bar" was supposed to contain an Unicode characters, but your mail client converted it.) --=-01qjxinZidTi4xbjaMXm Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBFxlsfOjmgKpITL3sRAmdwAKCO8/spffVMXJ4tsHuUPyw8L35YPwCgnqaN jt2S/5/2CyQdDk8kdkoxeK0= =vYj5 -----END PGP SIGNATURE----- --=-01qjxinZidTi4xbjaMXm-- --===============0525266706== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ taglib-devel mailing list taglib-devel@kde.org https://mail.kde.org/mailman/listinfo/taglib-devel --===============0525266706==--