Skip to content

Commit 2bfb115

Browse files
committed
Default to UTF-8 enabled locale
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.
1 parent 12892cf commit 2bfb115

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docker/moos-ivp/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ WORKDIR "/home/moos"
2323
# Build Arguments
2424
ARG SVN_REV=HEAD
2525

26+
# UTF-8 Encoding
27+
ENV LC_CTYPE="C.UTF-8"
28+
2629
# Check-out the MOOS-IvP trunk
2730
RUN svn co -r "$SVN_REV" https://oceanai.mit.edu/svn/moos-ivp-aro/trunk /home/moos/moos-ivp
2831

0 commit comments

Comments
 (0)