tidy-html5-mirror:issue-794

Last commit made on 2019-01-26
Get this branch:
git clone -b issue-794 https://git.launchpad.net/tidy-html5-mirror

Branch merges

Branch information

Name:
issue-794
Repository:
lp:tidy-html5-mirror

Recent commits

f9fe5c1... by Geoff R. McLane

Is. #794 - add 'mute' to options which add 'not all shown' indication.

0457fff... by Geoff R. McLane

Is. #746 PR #747 - Bump to 5.7.20 for this fix

68c70ae... by Geoff R. McLane

Is. #746 PR #747 - fix other dup 'const' modifier

e91a1bb... by Geoff R. McLane

Is. #746 - Merge PR #747 from drizt/extra-const

Fix extra const modifier

c7d6b7c... by Geoff R. McLane

PR #762 - bump to 5.7.19 for BUILD.md fix

be14e18... by Geoff R. McLane

Merge pull request #762 from cmb69/php-build-docs

PR #762 - docs BUILD.md - PHP ≥ 7.1.0 recognizes tidy-html5

9b72051... by Geoff R. McLane

Is. #783 #770 #780 - Bump to 5.7.18 for this change

937d67c... by Geoff R. McLane

Is. #770 #780 maybe #790 - remove 'setlocal' from lib!

f53ee9d... by Geoff R. McLane

Merge pull request #785 from Lin-Buo-Ren/patch/fix-i18n-locale-detection

Is. #783 PR #785 - Fix language detection

88b99ac... by 林博仁(Buo-ren, Lin)

Is. #783 - Fix language detection

The `setlocale` call doesn't return a single locale name in glibc when
any of the locale category variable has a different value, instead it
returns a composite locale name which is a concatenation of the entire
list of locale name and its values, causing the language detection fail.

This patch attempts to set the language via LC_MESSAGES and LANG
environment variables which are commonly used in POSIX-like systems,
then fallbacks to `setlocale` as the last resort.