Warning: X does not support locale en_US.UTF-8

107 ビュー (過去 30 日間)
Michal
Michal 2023 年 3 月 9 日
コメント済み: Jestzer 2023 年 9 月 26 日
After application of R2022b_upd5 on linux mint (21.1 Cinammon) I always get the following warning at the startup: Warning: X does not support locale en_US.UTF-8 But the MATLAB has proper "locale" feature:
>> feature('locale')
ans =
struct with fields:
ctype: 'en_US.UTF-8'
collate: 'en_US.UTF-8'
time: 'en_US.UTF-8'
numeric: 'en_US_POSIX.UTF-8'
monetary: 'en_US.UTF-8'
messages: 'en_US.UTF-8'
encoding: 'UTF-8'
terminalEncoding: 'UTF-8'
jvmEncoding: 'UTF-8'
status: 'MathWorks locale management system initialized.'
warning: ''
Any idea what is wrong after update5?
  6 件のコメント
Michal
Michal 2023 年 4 月 21 日
@Cheliza Everything (!!!) mentioned in your comment does not work at all.
Mike Metts
Mike Metts 2023 年 6 月 6 日
移動済み: Rik 2023 年 6 月 7 日
Why is this still broken? Just installed 2023a Update 2 on Ubuntu 22.04 and I'm getting the warning. Why? It looks like you promised to fix this long ago.

サインインしてコメントする。

採用された回答

Michal
Michal 2023 年 3 月 13 日
編集済み: Michal 2023 年 3 月 16 日
Official TMW statement:
"This is a warning message that can be disregarded and it has no impact on the functionality of MATLAB. A future update for R2022b and R2023a will remove this warning. Using previous updates of R2022b will not display this warning."
  6 件のコメント
Russell Sun
Russell Sun 2023 年 6 月 1 日
R2023a_Update2 ... still the same problem.
Chandan Bharti
Chandan Bharti 2023 年 6 月 14 日
facing the same issue in R2023a update2

サインインしてコメントする。

その他の回答 (3 件)

Jestzer
Jestzer 2023 年 3 月 10 日
編集済み: Jestzer 2023 年 4 月 19 日
This seems to be an issue for R2022b Update 5 and R2023a on any Linux distro. My installs on Ubuntu, Debian, CentOS, and Arch have all done the same thing after going to Update 5. I have not found a workaround yet and will update this post when I do.
EDIT: The only reasonable workaround I've found is launching MATLAB with matlab -r clc

Rik
Rik 2023 年 3 月 9 日
Isn't X the window management system? That would suggest this is not necessarily related to Matlab itself.
This thread is for Ubuntu, but you can give the commands a try anyway.
Or you could try 1 Google result below, which is a decade old, but is specific to Mint.
  4 件のコメント
Bryan Paton
Bryan Paton 2023 年 3 月 10 日
Brand new fresh install of both Ubuntu and Matlab R2022b Update 5 as of March 10 2023 and I get the exact same warning/error first time and every subsequent time I start Matlab. I even tried regenerating the locale profiles based on this: https://askubuntu.com/questions/99651/apt-get-warning-no-support-for-locale-en-us-utf8
with no change.
Bryan Paton
Bryan Paton 2023 年 3 月 10 日
Sorry I should add my specific message (differnet locale to OP) is:
Warning: X does not support locale en_AU.UTF-8

サインインしてコメントする。


Jim Bosley
Jim Bosley 2023 年 9 月 26 日
"This is a warning message that can be disregarded and it has no impact on the functionality of MATLAB. A future update for R2022b and R2023a will remove this warning. Using previous updates of R2022b will not display this warning."
The fact that the warning did not appear in previous versions of Matlab, and does now, and that a fix has been promised, but has not been provided, does not bolster confidence in Matlab. It's like a little tag line that says "Hey! We're Matlab! We don't take details seriously!".
And I know that MW DOES take their product seriously. Suggest that this be addressed. A reminder of a bug every time one opens Matlab is not a good look!
  1 件のコメント
Jestzer
Jestzer 2023 年 9 月 26 日
It’s already been fixed in the latest updates for R2022b and R2023a.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSoftware Development Tools についてさらに検索

タグ

製品


リリース

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by