Re: [Audacity-devel] non-ascii labels
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
|
From: Stuart <smc...@fr...> - 2006-08-19 13:32:33
|
"Leland" wrote: > Okay Stuart, let's try this again. :-) > > http://audacity.sourceforge.net/files/audacity-win-1.3.1-unicode-beta.zip > > This is a "debug" build so it will be a tad bit slower when import files and > such, so that's what's going on if you think it to be sluggish when doing > certain things. > > I will try to get a "release" unicode project setup this weekend unless > someone else wants to do it???? This one won't let me enter any japanese characters into a label at all. Normally, to enter japanese text, one turns on MS' Japanese IME (input method editor) which will create a small text box in the upper left corner of my screen somewhere for entering and composing the japanese text. (I think this is how it works if the application makes no provision for interacting with the IME. If it does make such provision, then the IME input/composion box can be made congruent with the application's input text box, so that one appears to be entering the text into the application, and the IME becomes more transparent. But I know little about this so take what I say with a big grain of salt.) When it has been entered, one types a return and the IME sends the string of japanese characters to the application. (I am not sure if the app receives them as unicode or cp-932.) That all works fine except after I type the return nothing appears in the label text box. I can enter an placeholder ascii label, open the Edit Labels dialog and and change the label in there to japanese characters (*). When I do, the correct text appears in the label track. (*) There is some weirdness here too. I click in the cell for the label text. The IME entry text box appears in the upper left area of my screen as usual. I type in several japanese characters and a return. Only the first character appears in the cell. However any subsequent characters I type are ok, and now, the IME entry and composition window is congruent with the cell instead of in the upper left screen somewhere. When I save the project and reopen it, I get an error messge, "Error: not well formed at line 148". Line 148 is the first label line that contains japanese text. The encoding of the .aup file appears to be cp-932 (the default for my system). I'm non-sure why the non-unicode build would produce a valid utf-8 file, and the non-unicode build would produce an illegal xml file (since there is no encoding declaration in it, the xml reader will assume utf-8, but it is actually cp-932). When I export the labels, then import them, they are imported correctly. The labels file encoding also appears to be cp-932. As an aside, I also found the following to be frustrating, but maybe because I don't really know what I'm doing yet... If I select a section of audio, type ctrl-B, I get a label text box. If I type a return, the box disappears. If I type ctrl-B again, nothing happens. (Because the the label track now has focus rather than the audio track?) I couldn't figure out how to return focus to the audio track without loosing my selection (annoying if it took some work to get the right selection.) And, it would be really nice if there were some way to make the Edit Labels dialog non-modal so that one could listen to selections while editing the info in the Label Edit dialog. HTH |