Skip to content
  • Brad King's avatar
    Do not call setlocale() globally in CMake applications (#15377) · 87be2e14
    Brad King authored
    Revert the changes made by commit v3.1.0-rc1~406^2~1 (Encoding: Add
    setlocale() to applications, 2014-05-30) and commit v3.1.0-rc1~406^2
    (Encoding: Change to only set LC_CTYPE, 2014-06-11), and other setlocale
    calls added later in their spirit.  CMake has not been taught how to
    deal with non-C locales everywhere.  We do not define any functionality
    for character conversions for non-ASCII strings.  Another solution will
    be needed to address the original problem motivating addition of
    setlocale() calls.
    87be2e14