On Thu, Feb 20, 2014 at 9:22 AM, wrote: > Hi Jim. > > Why copy the using_utf8() routine out of dfa.c? Why not just link > to it instead? If it's static, make it extern... That way if the > logic ever changes then it only has to be changed in one place. Hi Arnold, That was due to my reflex of avoiding unnecessary change to dfa.c, but in this case, it is definitely better to do as you suggest, not just to avoid code duplication, but also for run-time efficiency: with two copies of the function, there would have been two calls to nl_langinfo per run; with only that one copy, we save a call, too. Revised commits attached. Thanks, Jim