--- Andy Hawkins <[EMAIL PROTECTED]> wrote: > Hi, > > In article <[EMAIL PROTECTED]>, > Andy Hawkins<[EMAIL PROTECTED]> wrote: > > Ok, a bit more information on this from a user. The call to > set_field_value > > returns false if the data contains a character with an accent. > > > > FLAC::Metadata::VorbisComment::Entry NewEntry; > > > > NewEntry.set_field_value(Value.c_str(),Value.length()); > > Yet more info, the user stepped back to flac 1.1.1 and it all started > working. > > Is there some new validation happening in the Entry class? He says if > he uses metaflac to set tags containing accents it works fine.
yes. the text is probably not valid UTF-8 and Vorbis comments must be UTF-8. (usually the bug is that the client passes in unconverted text from the client's non-UTF-8 locale.) the newer code is much more strict about demanding UTF-8 text. Josh ____________________________________________________________________________________ Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Flac-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flac-dev
