- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a way to set the terminal encoding to UTF8 in ModusToolBox?
I'm Linux user
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes. In fact, I currently make the change manually on the MTB or use my preferred terminal externally.
But I would like future developers to consider this as an optional setting in the MTB interface. 👍
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello:
We should have a release of the Linux Setup version for ModusToolBox, is that ok for your debugging?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
maybe I misunderstood the question, you were already in the Linux environment, but met the UTF8 encoding issue in the debug terminal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I only have this problem with the MTB Integrated terminal.
I should also clarify that I can modify it manually.
My specific question. Is there a way to set the UTF8 encoding as "default" in the terminal?
I am an Arch Linux user
Thanks for reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi :
I have checked with the locale command, it shows we already set all the options to utf8.
if you want to do the encode type switch automatically when opening a file with the other encoding type,
I think it should be done manually for the specific file.
ISCNPF12B2Q5 ~/mtw3/Wi-Fi_Scan
$ locale
LANG=en_US.UTF-8
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_ALL=
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I mean this ...⬇️⬇️⬇️ 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello:
I have installed the Linux version on Ubuntu system, I found if I create a local Terminal , it acts with UTF8, and the other Terminal with the ISO-8859-1 encoding type.
here are the pics, my version is modus 3.0:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
⬆⬆⬆
Dude your screenshots are not from ModusToolbox's integrated terminal...
I think you are not understanding my point.
Show me in the ModusToolbox IDE settings where I can "set the built-in terminal with UTF8 default encoding"
I'm using other Eclipse based IDES like STM32CUBEIDE with the same ArchLinux environment and I haven't had this problem.
I have MTB version 3 installed too
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello:
Got some info here:
The Process connector is opened programmatically rather than with a UI command, so this is what we use to create an auto-switching ModusShell. The TM Terminal APIs are fairly limited and poorly documented.
Actually, I debugged into the directory:
ide_3.0\eclipse\plugins\org\eclipse\tm\terminal\view\ui\manager
the encoding type seems compiled into a class file already.
So it is better to switch the encoding type manually.
and if that is not very convenient, opening another local bash with default UTF-8 is another choice also.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes. In fact, I currently make the change manually on the MTB or use my preferred terminal externally.
But I would like future developers to consider this as an optional setting in the MTB interface. 👍