Skip to content
This repository was archived by the owner on Sep 8, 2021. It is now read-only.

Fix UTF-8 detection on some systems using non-standard locales #1664

Merged
merged 1 commit into from
May 1, 2020

Conversation

fxthomas
Copy link
Contributor

Some systems use non-standard locales (e.g. en_US.utf8 instead of en_US.UTF-8) to specify Unicode support. These locales are supported by Glibc but were not handled properly by the Airsonic diagnostics page.

From Reddit comment:

My "About Airsonic Internals" says, "The LANG environment variable is defined but appears to disable UTF-8 support. International characters may be partially supported."

LANG environment variable en_US.utf8

is this an issue?

@fxthomas fxthomas added the in: UNKNOWN-backend The problem location has not been identified yet. label Apr 26, 2020
@fxthomas fxthomas added this to the 10.6.2 milestone Apr 26, 2020
Some systems use non-standard locales (e.g. en_US.utf8 instead of
en_US.UTF-8) to specify Unicode support. These locales are supported by
Glibc but were not handled properly by the Airsonic diagnostics.
@fxthomas fxthomas force-pushed the tweak-utf8-detection branch from 305320f to c8f5427 Compare April 26, 2020 09:58
@fxthomas fxthomas changed the title Fix UTF-8 detection on some system using non-standard locales Fix UTF-8 detection on some systems using non-standard locales Apr 26, 2020
@fxthomas fxthomas mentioned this pull request Apr 26, 2020
10 tasks
@fxthomas fxthomas merged commit 42e09e8 into airsonic:master May 1, 2020
@fxthomas fxthomas deleted the tweak-utf8-detection branch May 1, 2020 10:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
in: UNKNOWN-backend The problem location has not been identified yet.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant