Comment 10 for bug 1662456

Revision history for this message
Light on Flux (lightonflux) wrote : Re: [Bug 1662456] Re: snapcraft fails if desktop file included "ascii" cannot decode byte

Am 26.03.2017 um 01:16 schrieb Leo Arias:
> I worked this around by setting the env var LC_ALL=en_US.UTF-8 and
> running locale-gen en_US.UTF-8. We can do this in our lxd container
> during cleanbuild for sure.
>
> For cases out of cleanbuild, like running snapcraft in docker, a failure
> might be more appropriate, because we probably shouldn't play with
> people's env.
>

Did it work with LANG=C?

In LXD upstream the issue was fixed. New (2.9 and later) versions should
automatically set LANG=C when using "lxc exec":

https://github.com/lxc/lxd/issues/2830