Patches for Enforce C locale usage for parsing text output [sf#2802895] [#996]