Re: zinf and utf8
"Kristian G. Kvilekval" <[email protected]>
| Newsgroups | gmane.comp.audio.zinf.devel |
|---|---|
| Message-ID | <1060018175.31878.30.camel@merrimack> |
On Mon, 2003-08-04 at 03:14, Robert Hart wrote: > GTK2 uses utf8 when dealing with text. This has two issues for zinf. > > 1) What encoding are our strings in? Internally, everything is US-ASCII. There are several points where conversions are made (vorbis, id3tag, etc). Of course, in usual style each uses its own set of conversion routines. One day I'll go back and clean out that part of the garage too. > AFAICT this is currently undefined. I think id3lib has facilities in place > to deal with the different encodings that may be in place in an ID3v2 tag, > but I'm not entirely sure what it spits out by default. I think ID3v1 are > a bit of a mess. > > 2) At what point do we convert strings to UTF-8 (i.e. do we store UTF > internally, or do we keep them as they are, and convert at output time>) > > I think in *theory* we *should* be able to switch to using UTF-8 > internally without breaking anything, but I don't know how it will work in > practice. Does anybody know of anything that definitely *wont* work. I > don't know anything about this database business. I have no idea what this would entail. Can you point me to a program that uses UTF8 internally. What about constant strings, gettext internalization, and string manipulation commands. We push so few strings to the display that it might be just as easy to do the conversions on the fly. -- email:[email protected] office:(805)893-4276 http://www.cs.ucsb.edu/~kris ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01