Output of Values (1:2:3.456) with european culture


I just found your project and i like it!
The only thing i found is, that the fileConverterThread is started with the installed culture, in my case "de-AT".
This isnt a big problem at all, but decimal values will be convertet to "123,45", and this is not good :)
you just have to update your code (ConvertedUI.cs: ~65) to:
fileConvertThread = new Thread(new ThreadStart(this.convertFile));
fileConvertThread.Name = "File Convert";
// converts will be formated to decimal-dot (123.23)
fileConvertThread.CurrentCulture = System.Globalization.CultureInfo.CreateSpecificCulture("en-US");
// resource lookups will be formated to decimal-dot (123.23)
fileConvertThread.CurrentUICulture = System.Globalization.CultureInfo.CreateSpecificCulture("en-US");
why i chose a specific culture: a default culture like "de" or "en" cannot be used to format an output.
With best regards, SerM
AAH, BTW: embedded movies lead to an out of range exception by both bytes[] array accesses ... (SwfReader.cs: 115)
Closed Sep 1, 2008 at 5:16 AM by debreuil
fixed culture issue by applying Serious M's code - thanks : )


debreuil wrote Sep 1, 2008 at 2:19 AM

thanks for the info, I will try to get that into the next rev. These culture syntax things always get me -- I always miss spots to use invariant.

and yeah, movies aren't supported, though they should just be skipped, so I'll have a look at that as well, thanks

debreuil wrote Sep 1, 2008 at 5:15 AM

fixed the culture issue, thanks again for that. I will probably only get to embedded movies later, currently I think it is just not supported. I'll try to make that a nicer error though : ).

wrote Sep 1, 2008 at 5:16 AM

wrote Feb 14, 2013 at 1:55 AM

wrote May 16, 2013 at 6:58 AM