Skip to content

Commit

Permalink
Default to UTF-8 enabled locale
Browse files Browse the repository at this point in the history
Currently, the locale is the POSIX default "C".
Some files in the moos tree, however, use UTF-8 characters, which can
cause applications to fail (notably, the SVN checkout & update process).
See themoos/essential-moos#15 for more context.

This commit changes the default to "C.UTF-8", enabling use of the
extended charset.
  • Loading branch information
HeroCC committed Mar 10, 2023
1 parent 12892cf commit 2bfb115
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/moos-ivp/Dockerfile
Expand Up @@ -23,6 +23,9 @@ WORKDIR "/home/moos"
# Build Arguments
ARG SVN_REV=HEAD

# UTF-8 Encoding
ENV LC_CTYPE="C.UTF-8"

# Check-out the MOOS-IvP trunk
RUN svn co -r "$SVN_REV" https://oceanai.mit.edu/svn/moos-ivp-aro/trunk /home/moos/moos-ivp

Expand Down

0 comments on commit 2bfb115

Please sign in to comment.