[Github-comments] [geany/geany-osx] Check AppleLocale before AppleLanguages when setting LANG (#9)

Jiří Techet notifications at xxxxx
Sun Jul 1 15:34:53 UTC 2018


AppleLanguages differs based on OS X version - newer versions
return values like cs_CZ, older OS X versions return only cs. This
leads to problems in scripts executed in VTE. It seems that
AppleLocale always returns the complete value so test it first when
setting LANG to mitigate this problem.

In addition, move adding the suffix "UTF-8" to the very end of the
script because some parts of the script depend on the value
without this suffix.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany-osx/pull/9

-- Commit Summary --

  * Check AppleLocale before AppleLanguages when setting LANG

-- File Changes --

    M launcher-gtk2.sh (87)
    M launcher-gtk3.sh (87)

-- Patch Links --

https://github.com/geany/geany-osx/pull/9.patch
https://github.com/geany/geany-osx/pull/9.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-osx/pull/9
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20180701/3439b4af/attachment.html>


More information about the Github-comments mailing list