SolveSpace Logo SOLVESPACE -- parametric 2d/3d CAD
Examples
Tutorials
Features
Download
Reference
Technology
Library
Forum
Contact
USER FORUM

(you are viewing a thread; or go back to list of threads)

Sorry, only UTF-8 locales are supported (by Bob)
Solvespace 2.2 starts on openSuse Linux 42.2 with the message "Sorry, only UTF-8 locales are supported" end exits. It did the same thing with the older version. So I am a bit disappointed, because I'd be really interested to try it. Any idea anyone???
Sun Nov 6 2016, 17:43:23
(no subject) (by whitequark)
Try running SolveSpace as:

$ LANG=en_US.UTF-8 solvespace

If that works, please post the output of the following command:

$ env | egrep '(LANG|LC_)'
Mon Nov 7 2016, 07:01:11
UTF-8 message (by Federico Balaguer)
hello.
here is the output
$ env | egrep '(LANG|LC_)'
LANG=en_US_UTF-8
LANGUAGE=
Tue Sep 19 2017, 10:12:25
(no subject) (by whitequark)
There is some error with your environment. LANG should not be en_US_UTF-8. The workaround I specified above suffices.
Sun Oct 1 2017, 18:20:56
LC_TIME and LC_MEASUREMENT repro this for me (by Marsh Ray)
marsh@mittens:~$ env | egrep '(LANG|LC_)'
LC_MEASUREMENT=en_VI.UTF-8
LANG=en_US.UTF-8
LANGUAGE=
LC_TIME=en_SE.UTF-8
marsh@mittens:~$ solvespace
Sorry, only UTF-8 locales are supported.
marsh@mittens:~$ LC_MEASUREMENT=en_US.UTF-8 solvespace
Sorry, only UTF-8 locales are supported.
marsh@mittens:~$ LC_TIME=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 solvespace
bash: warning: setlocale: LC_TIME: cannot change locale (en_SE.UTF-8)

Other than the warning, the last one works.
Sat May 26 2018, 15:56:45
(no subject) (by henry)
Para meu caso :
Ubuntu 18.04 "Armbian" orangePi_PC
Funcionou com:
~$ LC_ALL=en_US.UTF-8 solvespace

posteriormente criei:
~$vim solvespace.sh
# executa solvespace com a variavel global ALL
# a string & executa o aplicativo em 2 plano
#liberando o shell, para uso.
LC_ALL=en_US.UTF-8 solvespace &
Sat Nov 30 2019, 12:46:47
docker container (by Todd)
I'm trying to build and run solvespace from a docker container. While I can build, I cannot run, due to this same UTF-8 error. See details in my commit here:

https://github.com/ToddG/solve...1e141257f9b913c7f09e4f3b5965bd
Thu Dec 23 2021, 16:00:03
locales (by Todd)
I figured out how to correctly set the locales:

https://github.com/ToddG/solve...e16794042c1eacafa8ec6b2c8a86e0

Issue solved.

Added this to my dockerfile:

# locales
RUN apt-get install locales apt-utils
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
Thu Dec 23 2021, 16:12:29
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):
© 2008-2022 SolveSpace contributors. Most recent update June 2 2022.