Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LC_ALL issue #7

Open
freddy77 opened this issue Nov 1, 2019 · 1 comment
Open

LC_ALL issue #7

freddy77 opened this issue Nov 1, 2019 · 1 comment

Comments

@freddy77
Copy link

freddy77 commented Nov 1, 2019

Hi,
for spice-server project we import the top/maint.mk file however we have an issue with these lines:

# Prevent programs like 'sort' from considering distinct strings to be equal.
# Doing it here saves us from having to set LC_ALL elsewhere in this file.
export LC_ALL = C

specifically this affect a2x program (written in Python) which think that the encoding of some files is not utf-8 failing to compile documentation.

For more information see https://gitlab.freedesktop.org/spice/spice/issues/35.

What do you think about changing LC_ALL to LC_COLLATE?

@pixelb
Copy link
Member

pixelb commented Nov 1, 2019

It wouldn't be that simple as existing LC_ALL would override LC_COLLATE.
Also only collate is mentioned, but this could very well be impacting other locale behavior in gnulib using projects. I'd be wary of restricting to collate.

You may be able to control for spice with make -e or make LC_ALL=$LC_CTYPE etc.?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants