Ticket #1065 (closed defect: worksforme)

Opened 3 years ago

Last modified 3 years ago

external run console does not properly support utf8 output on Ubuntu

Reported by: zenogantner Owned by:
Priority: major Milestone:
Component: editor Version: 0.74
Keywords: encoding, console, utf8, run Cc:

Description

See attached screenshots:

  • The first shows the output of the two scripts in the gnome- terminal console.
  • The second shows the output in the Padre internal console
  • The third one shows the output in the Padre external console

Attachments

ubuntu-console-utf8.png (12.8 KB) - added by zenogantner 3 years ago.
padre-internal-utf8.png (29.2 KB) - added by zenogantner 3 years ago.
padre-external-utf8.png (25.8 KB) - added by zenogantner 3 years ago.

Change History

Changed 3 years ago by zenogantner

Changed 3 years ago by zenogantner

Changed 3 years ago by zenogantner

comment:1 Changed 3 years ago by zenogantner

Funny thing: when I use the same command like Padre to run the script from a console window, then there is no problem (see screenshot).

Maybe the call from Padre does somehow not give all environment variables to xterm?

I checked this hypothesis, and indeed there was a difference:

LC_ALL=C
XTERM_LOCALE=C

vs.

XTERM_LOCALE=de_DE.utf8

LC_ALL=C was set no matter whether I had German or English as the Padre interface language.

comment:2 Changed 3 years ago by claudio

It works here out of the box.

Zeno,

Can you do a '$ echo $LANG'?

C.

comment:3 Changed 3 years ago by zenogantner

  • Status changed from new to closed
  • Resolution set to worksforme

It now works for me. Please re-open if anyone should encounter this behavior again.

Note: See TracTickets for help on using tickets.