[Buildroot] [Bug 13551] 2021.02.rc2: Unicode not work on qt 5.15.2

bugzilla at busybox.net bugzilla at busybox.net
Thu Mar 18 07:35:59 UTC 2021


https://bugs.busybox.net/show_bug.cgi?id=13551

--- Comment #12 from Alfredo Pons Menargues <alfredo.pons at gmail.com> ---
Created attachment 8821
  --> https://bugs.busybox.net/attachment.cgi?id=8821&action=edit
My config file for buildroot-2021.02

Buildroot: buildroot-2021.02
CPU: eglfs/RPi3

In this scenario, if you run the tests of QT Console code:

  #include <QDebug>
  int main(int argc, char* argv[]) {
      qInfo() << "\u25C0";
      return 0;
  }

Run:

$ ./test 2>&1 | hexdump -C  --> NO UTF8


$ LANG=en_US.utf8 ./test 2>&1 | hexdump -C   --> UTF8 OK


In the console example the utf-8 text works if we pass in the environment the
variable LANG=en_US.utf8, but in QML test this does not happen:


$ ./testQML --> NO UTF8

$ LANG=en_US.utf8 ./testQML --> NO UTF8

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the buildroot mailing list