Hi, I'm using nwc-conv to convert nwctxt-files to midi, but with the 2.75 upgrade and UTF8 support in NWC, the nwc-conv tool doesn't seem to have been updated (the file version is 2.5). When I generate midi files, any non-ascii character gets garbled.
Is there an updated nwc-conv with UTF8 support to get hold of anywhere?
Best regards, Jonas
In the change notes for 2.75a, it seems that the normal exe-file now handles conversions, does this mean that nwc-conv is deprecated?
using trial and error, I now know that nwc2.exe can handle conversion, but it does not successfully handle swedish (non ascii) characters when converting the title from nwctxt to midi.
To reproduce:
create a new song in nwc 2.75a beta 9
set song title to "Testoing ÅÄÖ åäö"
add some random notes
save as c:\temp\song.nwctxt (in text format)
convert using "nwc2.exe -convert c:\temp\song.nwctxt c:\temp\song.mid"
look at file in texteditor of your choice. midi title is now : Testing ÅÄÖ åäö
I tried saving in nwc format and uncompressed format. neither of them convert correctly to midi.
please advice.
The nwc-conv tool is nothing but a front-end for the NWC2 program.
Version 2.75 exports MIDI text as utf-8, which is probably causing your problem.
Version 2.75a provides for ANSI text during MIDI export from the Tools, Options, File, ANSI text encoding option.
Thanks for the quick reply. Changing that setting seems to have solved my problem :)
Jonas
Shouldn't midi-files always be written with ansi encoding? does the midi format support UTF8?
In this spec, it doesnt say anything at all about support for encoding: http://faydoc.tripod.com/formats/mid.htm
Some MIDI files have lyrics. Many languages need more than ANSI.
Yes indeed. And I saw many files with the usual problems of code-page.