To be able to handle unicode characters, I want the default build environment to use a better locale. Right now it uses POSIX, and using en_US.UTF-8 would help.
One workaround is to create your own docker image like this
Using a Docker image that can looks something like this:
FROM gcc #Some smart base image
# Whatever you need more than what is on the base image required by your project
# Set the locale
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
Another even easier workaround is to set these environment variables in your build script or Pipelines settings.