Change svn info to svn info --xml to cope with non-English locales. Make scan for number insensitive to svn info --xml option.