[ros-users] [Discourse.ros.org] [Next Generation ROS] ROS2 Beta1 compiled from source - unicode bug

shehz ros.discourse at gmail.com
Fri May 19 07:39:14 UTC 2017



Before stopping the container, I checked the locale:

```bash
root at 526a88b1e27b:~/ros2_ws# locale
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
```

You are correct it was the problem of my environment variables. Set it according to your instructions and checked locale again:

```bash
root at 526a88b1e27b:~/ros2_ws# locale
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
```
Compiling perfectly now. I thought this step `update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8` in the [install instructions](https://github.com/ros2/ros2/wiki/Linux-Development-Setup) would have worked inside the container - but it did not. 

Thanks a lot @marguedas  for pointing out your dockerfiles, saves me a lot of trouble!





---
[Visit Topic](https://discourse.ros.org/t/ros2-beta1-compiled-from-source-unicode-bug/1844/3) or reply to this email to respond.




More information about the ros-users mailing list