From: Lawrence D'O. <ld...@ge...> - 2010-04-18 01:09:00
|
Peter Koeleman wrote: > I was trying to feed an XML file to dvdauthor but dvdauthor didn't want to have > it, complaining about: > > ERR: Cannot parse chapter timestamp '0:00:02.07' > > This might be because of my Dutch locale, in which the fractional point is a > comma. In dvdcli.c, the parsechapter routine is using strtod(3) to parse each number between the colons. The man page says the decimal separator is locale-dependent. Thinking about it, I’m only really using the locale to get the codeset, which is currently only used to interpret the contents of subtitle files. So perhaps after saving that, I should just set the locale back to “C”. |