After some reading, it seems that the locale configuration is related, and UTF-8 encoding is needed, but don't how to configure mlterm to show the Korean characters, that are now showing in the LXTerminal.
Also, how can this be done "hot"? I mean, after having run mlterm, with a command in the same terminal.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What is disturbing here is that the LXTerminal shows Latin and Korean symbols, but not the mlterm. So, the character set is somewhere, but mlterm does not see it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please show me ~/.mlterm/main and the result of following commands.
$ mlcc fontconfig
$ mlcc type_engine
$ echo $MLTERM
$ tail ~/.mlterm/msg.log
Starting mlterm with "-type cairo" option might fix the problem.
mlterm searches appropriate fonts automatically only if the value of type_engine
option is "cairo".
Otherwise, how about specifying a font which contains hangul glyphs in ~/.mlterm/aafont
explicitly as follows ?
ISO10646_UCS4_1_FULLWIDTH=
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
$ mlcc fontconfig
> ]5380;fontconfig
$ mlcc type_engine
> ]5380;type_engine
$ echo $MLTERM
(it's empty)
I'm sorry but I can't understand these results.
It seems that mlterm doesn't work.
Which version of mlterm do you use? ($ mlterm --version)
If you start mlterm with --restart=false option, does something change?
Will you show me a screenshot?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
have removed and installed again mlterm, but the problem remains.
I've realized that the results of executing the commands you sent from mltern and any other terminal are different. This is the result from mlterm (after reinstalling):
Have just found that version 3.8.6 does not reproduce the problem after installation, but still have to fix it with version 3.5, since 3.8 is not available for Lubuntu version 16.04, which is the one I use to package the main program (Lubuntu 18.04 has 3.8 in its repository, but lacks other necessary libraries).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After some reading, it seems that the
locale
configuration is related, and UTF-8 encoding is needed, but don't how to configure mlterm to show the Korean characters, that are now showing in the LXTerminal.Also, how can this be done "hot"? I mean, after having run
mlterm
, with a command in the same terminal.-E UTF-8
did not help either...I've checked https://sourceforge.net/p/mlterm/discussion/130836/thread/9b7e455a/, but the question remains. What would be the character set to use the Hangul symbols?
Last edit: Francisco J. Vico 2018-07-31
What is disturbing here is that the LXTerminal shows Latin and Korean symbols, but not the mlterm. So, the character set is somewhere, but mlterm does not see it.
some more configutation data:
$ locale -a
C
C.UTF-8
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZM
en_ZM.utf8
en_ZW.utf8
es_ES.utf8
POSIX
$ locale
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=es_ES.UTF-8
LC_TIME=es_ES.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=es_ES.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=es_ES.UTF-8
LC_NAME=es_ES.UTF-8
LC_ADDRESS=es_ES.UTF-8
LC_TELEPHONE=es_ES.UTF-8
LC_MEASUREMENT=es_ES.UTF-8
LC_IDENTIFICATION=es_ES.UTF-8
LC_ALL=
Please show me ~/.mlterm/main and the result of following commands.
$ mlcc fontconfig
$ mlcc type_engine
$ echo $MLTERM
$ tail ~/.mlterm/msg.log
Starting mlterm with "-type cairo" option might fix the problem.
mlterm searches appropriate fonts automatically only if the value of type_engine
option is "cairo".
Otherwise, how about specifying a font which contains hangul glyphs in ~/.mlterm/aafont
explicitly as follows ?
ISO10646_UCS4_1_FULLWIDTH=
$more ~/.mlterm/main
borderless = true
fg_color = white
bg_color = black
$ mlcc fontconfig
]5380;fontconfig
$ mlcc type_engine
]5380;type_engine
$ echo $MLTERM
(it's empty)
$tail ~/.mlterm/msg.log
Jul 31 05:27:29[17072] UTG-8 encoding is not supported. Auto detected encoding is used.
did not work, characters are shown as boxes again.
as for the last option, I tried
but did not work either.
Last edit: Francisco J. Vico 2018-08-04
Which version of mlterm do you use? ($ mlterm --version)
If you start mlterm with --restart=false option, does something change?
Will you show me a screenshot?
have removed and installed again mlterm, but the problem remains.
I've realized that the results of executing the commands you sent from mltern and any other terminal are different. This is the result from mlterm (after reinstalling):
$ mlcc fontconfig
#error
$ mlcc type_engine
#type_engine=xft
$ echo $MLTERM
3.5.0
$ mlterm --version
mlterm version 3.5.0
(running on Lubuntu 16.04)
--restart=false
did not make any change...
LXTerm: https://imgur.com/XiY6ix2
mlterm: https://imgur.com/M0c1DRX
(sorry, I should had provided version and images from the beginning.)
Last edit: Francisco J. Vico 2018-08-05
Have just found that version 3.8.6 does not reproduce the problem after installation, but still have to fix it with version 3.5, since 3.8 is not available for Lubuntu version 16.04, which is the one I use to package the main program (Lubuntu 18.04 has 3.8 in its repository, but lacks other necessary libraries).
Sorry for my late reply.
I tested on Lubuntu 16.04 , then I can show korean characters by following steps.
$ sudo apt-get install mlterm
$ sudo apt-get install fonts-baekmuk
$ fc-list | grep dotum
/usr/share/fonts/truetype/baekmuk/dotum.ttf: Baekmuk Dotum, ... :style=Regular
$ echo "ISO10646_UCS4_1_FULLWIDTH=Baekmuk Dotum" >> ~/.mlterm/aafont
(ISO10646_UCS4_1_BIWIDTH is also available)
You're absolutely right,
dotum
wasn't installed and now it works just fine.Thx so much!
and
same result: boxes.
I suspect that 'dotum' font is not installed.
Following command will show whether 'dotum' font is installed or not.
$ fc-list|grep dotum
Just installed
xterm
and it shows Korean characters straight away... Can't understand how a multilingual terminal, by default, does not.Last edit: Francisco J. Vico 2018-08-05