Updated nwc-conv for 2.75 with UTF8 support? 2017-01-14 02:46 pm 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 Quote Selected
nwc-conv now a part of nwc2.exe? Reply #1 – 2017-01-14 02:50 pm 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? Quote Selected
Re: nwc-conv now a part of nwc2.exe? Reply #2 – 2017-01-14 03:10 pm 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 9set song title to "Testoing ÅÄÖ åäö"add some random notessave 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. Quote Selected
Re: Updated nwc-conv for 2.75 with UTF8 support? Reply #3 – 2017-01-14 03:17 pm 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. Quote Selected
Re: Updated nwc-conv for 2.75 with UTF8 support? Reply #4 – 2017-01-14 10:42 pm Thanks for the quick reply. Changing that setting seems to have solved my problem Jonas Quote Selected
Re: Updated nwc-conv for 2.75 with UTF8 support? Reply #5 – 2017-01-15 09:20 am 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 Quote Selected
Re: Updated nwc-conv for 2.75 with UTF8 support? Reply #6 – 2017-01-15 11:45 am Quote from: jonashogstrom – 2017-01-15 09:20 amShouldn't midi-files always be written with ansi encoding?Some MIDI files have lyrics. Many languages need more than ANSI. Quote Selected
Re: Updated nwc-conv for 2.75 with UTF8 support? Reply #7 – 2017-01-15 01:08 pm Quote from: Rick G. – 2017-01-15 11:45 amSome MIDI files have lyrics. Many languages need more than ANSI.Yes indeed. And I saw many files with the usual problems of code-page. Quote Selected