That's probably exceptional enough to let this stand...we don't want to suddenly make the program start crashing if someone has a non-standard code.
Any chance you can pin down what subclass of Exception is produced by a non-standard locale, and just catch that? Catching all Exceptions is also something to avoid if possible since it can mask problems that should be attended to.