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???
(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_)'
$ LANG=en_US.UTF-8 solvespace
If that works, please post the output of the following command:
$ env | egrep '(LANG|LC_)'
UTF-8 message (by Federico Balaguer)
hello.
here is the output
$ env | egrep '(LANG|LC_)'
LANG=en_US_UTF-8
LANGUAGE=
here is the output
$ env | egrep '(LANG|LC_)'
LANG=en_US_UTF-8
LANGUAGE=
(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.
LC_TIME and LC_MEASUREMENT repro this for me (by Marsh Ray)
[email protected]:~$ env | egrep '(LANG|LC_)'
LC_MEASUREMENT=en_VI.UTF-8
LANG=en_US.UTF-8
LANGUAGE=
LC_TIME=en_SE.UTF-8
[email protected]:~$ solvespace
Sorry, only UTF-8 locales are supported.
[email protected]:~$ LC_MEASUREMENT=en_US.UTF-8 solvespace
Sorry, only UTF-8 locales are supported.
[email protected]:~$ 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.
LC_MEASUREMENT=en_VI.UTF-8
LANG=en_US.UTF-8
LANGUAGE=
LC_TIME=en_SE.UTF-8
[email protected]:~$ solvespace
Sorry, only UTF-8 locales are supported.
[email protected]:~$ LC_MEASUREMENT=en_US.UTF-8 solvespace
Sorry, only UTF-8 locales are supported.
[email protected]:~$ 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.
(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 &
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 &
Post a reply to this comment: