linux
linux copied to clipboard
raspberrypi 4 don't show unicode between 8602(↚) and 8703(⇿)
Describe the bug
Raspberrypi 4 just show □ when unicode is between 8602(↚) and 8703(⇿).
Steps to reproduce the behaviour
Copy the unicode between 8602(↚) and 8703(⇿), it will show □.
Device (s)
Raspberry Pi 4 Mod. B
System
OS and version:Raspberry Pi reference 2022-04-04 Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 226b479f8d32919c9fe36dd5b4c20c02682f8180, stage5 firmware :version e5a963efa66a1974127860b42e913d2374139ff5 (clean) (release) (start) kernel :Linux raspberrypi 5.15.32-v7l+ #1538 SMP Thu Mar 31 19:39:41 BST 2022 armv7l GNU/Linux
Logs
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.15.32-v7l+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1538 SMP Thu Mar 31 19:39:41 BST 2022
[ 0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.5
[ 0.000000] random: fast init done
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000001ac00000, size 320 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x000000002fffffff]
[ 0.000000] Normal empty
[ 0.000000] HighMem [mem 0x0000000030000000-0x000000007fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000003b3fffff]
[ 0.000000] node 0: [mem 0x0000000040000000-0x000000007fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[ 0.000000] percpu: Embedded 16 pages/cpu s35788 r8192 d21556 u65536
[ 0.000000] pcpu-alloc: s35788 r8192 d21556 u65536 alloc=16*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 503104
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=E4:5F:01:BF:F0:11 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=tty1 root=PARTUUID=5d697b61-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[ 0.000000] Unknown kernel command line parameters "splash", will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0x0000000015a00000-0x0000000019a00000] (64MB)
[ 0.000000] Memory: 1587568K/2019328K available (10240K kernel code, 1390K rwdata, 3292K rodata, 2048K init, 590K bss, 104080K reserved, 327680K cma-reserved, 1232896K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 35355 entries in 104 pages
[ 0.000000] ftrace: allocated 104 pages with 3 groups
[ 0.000000] trace event string verifier disabled
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] Rude variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] irq_brcmstb_l2: registered L2 intc (/soc/interrupt-controller@7ef00100, parent irq: 25)
[ 0.000000] random: get_random_bytes called from start_kernel+0x574/0x758 with crng_init=1
[ 0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[ 0.000000] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[ 0.000018] Switching to timer-based delay loop, resolution 18ns
[ 0.000299] Console: colour dummy device 80x30
[ 0.000363] printk: console [tty1] enabled
[ 0.000429] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000)
[ 0.000460] pid_max: default: 32768 minimum: 301
[ 0.000598] LSM: Security Framework initializing
[ 0.000751] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.000779] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.002303] cgroup: Disabling memory control group subsystem
[ 0.002534] CPU: Testing write buffer coherency: ok
[ 0.002588] CPU0: Spectre BHB: using loop workaround
[ 0.003015] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.004223] Setting up static identity map for 0x200000 - 0x20003c
[ 0.004423] rcu: Hierarchical SRCU implementation.
[ 0.005366] smp: Bringing up secondary CPUs ...
[ 0.006506] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.006523] CPU1: Spectre BHB: using loop workaround
[ 0.007802] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.007819] CPU2: Spectre BHB: using loop workaround
[ 0.009054] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.009071] CPU3: Spectre BHB: using loop workaround
[ 0.009227] smp: Brought up 1 node, 4 CPUs
[ 0.009247] SMP: Total of 4 processors activated (432.00 BogoMIPS).
[ 0.009266] CPU: All CPU(s) started in HYP mode.
[ 0.009279] CPU: Virtualization extensions available.
[ 0.010092] devtmpfs: initialized
[ 0.025228] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
[ 0.025443] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.025477] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.034891] pinctrl core: initialized pinctrl subsystem
[ 0.036107] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.040399] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.041186] audit: initializing netlink subsys (disabled)
[ 0.041438] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[ 0.042044] thermal_sys: Registered thermal governor 'step_wise'
[ 0.042778] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.042800] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.043187] Serial: AMBA PL011 UART driver
[ 0.056736] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[ 0.090045] raspberrypi-firmware soc:firmware: Attached to firmware from 2022-03-24T13:19:26, variant start
[ 0.100061] raspberrypi-firmware soc:firmware: Firmware hash is e5a963efa66a1974127860b42e913d2374139ff5
[ 0.159007] Kprobes globally optimized
[ 0.164513] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[ 0.169144] vgaarb: loaded
[ 0.169592] SCSI subsystem initialized
[ 0.169827] usbcore: registered new interface driver usbfs
[ 0.169906] usbcore: registered new interface driver hub
[ 0.169978] usbcore: registered new device driver usb
[ 0.170943] usb_phy_generic phy: supply vcc not found, using dummy regulator
[ 0.171424] pps_core: LinuxPPS API ver. 1 registered
[ 0.171439] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected]
[ 0.171474] PTP clock support registered
[ 0.173119] clocksource: Switched to clocksource arch_sys_counter
[ 0.253829] VFS: Disk quotas dquot_6.6.0
[ 0.253930] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.254109] FS-Cache: Loaded
[ 0.254289] CacheFiles: Loaded
[ 0.263500] NET: Registered PF_INET protocol family
[ 0.263728] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.265295] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.265329] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.265395] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.265468] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.265621] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.265659] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.265910] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.266894] RPC: Registered named UNIX socket transport module.
[ 0.266912] RPC: Registered udp transport module.
[ 0.266927] RPC: Registered tcp transport module.
[ 0.266940] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.266961] PCI: CLS 0 bytes, default 64
[ 1.124235] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[ 1.126829] Initialise system trusted keyrings
[ 1.127077] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[ 1.136154] zbud: loaded
[ 1.138101] FS-Cache: Netfs 'nfs' registered for caching
[ 1.138963] NFS: Registering the id_resolver key type
[ 1.139002] Key type id_resolver registered
[ 1.139017] Key type id_legacy registered
[ 1.139154] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.139170] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 1.140253] Key type asymmetric registered
[ 1.140269] Asymmetric key parser 'x509' registered
[ 1.140498] bounce: pool size: 64 pages
[ 1.140560] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 1.140786] io scheduler mq-deadline registered
[ 1.140803] io scheduler kyber registered
[ 1.149913] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[ 1.149954] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[ 1.150047] brcm-pcie fd500000.pcie: MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[ 1.150147] brcm-pcie fd500000.pcie: IB MEM 0x0000000000..0x007fffffff -> 0x0400000000
[ 1.235224] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[ 1.235630] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[ 1.235650] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 1.235672] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[ 1.235760] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[ 1.236003] pci 0000:00:00.0: PME# supported from D0 D3hot
[ 1.239680] PCI: bus0: Fast back to back transfers disabled
[ 1.239703] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 1.240076] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[ 1.240206] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[ 1.240636] pci 0000:01:00.0: PME# supported from D0 D3hot
[ 1.244344] PCI: bus1: Fast back to back transfers disabled
[ 1.244364] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 1.244406] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[ 1.244433] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[ 1.244517] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 1.244542] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff]
[ 1.244949] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
[ 1.245179] pcieport 0000:00:00.0: PME: Signaling with IRQ 78
[ 1.252635] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[ 1.255885] iproc-rng200 fe104000.rng: hwrng registered
[ 1.256276] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 1.257832] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[ 1.270377] brd: module loaded
[ 1.280623] loop: module loaded
[ 1.281394] Loading iSCSI transport class v2.0-870.
[ 1.286617] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[ 1.383300] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[ 1.384491] usbcore: registered new interface driver r8152
[ 1.384559] usbcore: registered new interface driver lan78xx
[ 1.384652] usbcore: registered new interface driver smsc95xx
[ 1.430876] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 1.430914] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[ 1.436541] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x00003c0000000890
[ 1.437878] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 1.437903] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.437923] usb usb1: Product: xHCI Host Controller
[ 1.437940] usb usb1: Manufacturer: Linux 5.15.32-v7l+ xhci-hcd
[ 1.437956] usb usb1: SerialNumber: 0000:01:00.0
[ 1.438689] hub 1-0:1.0: USB hub found
[ 1.438789] hub 1-0:1.0: 1 port detected
[ 1.439461] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 1.439489] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[ 1.439514] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[ 1.439977] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[ 1.439999] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.440019] usb usb2: Product: xHCI Host Controller
[ 1.440035] usb usb2: Manufacturer: Linux 5.15.32-v7l+ xhci-hcd
[ 1.440051] usb usb2: SerialNumber: 0000:01:00.0
[ 1.440760] hub 2-0:1.0: USB hub found
[ 1.440832] hub 2-0:1.0: 4 ports detected
[ 1.442642] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.443013] dwc_otg: FIQ enabled
[ 1.443027] dwc_otg: NAK holdoff enabled
[ 1.443040] dwc_otg: FIQ split-transaction FSM enabled
[ 1.443057] Module dwc_common_port init
[ 1.443527] usbcore: registered new interface driver uas
[ 1.443652] usbcore: registered new interface driver usb-storage
[ 1.443856] mousedev: PS/2 mouse device common for all mice
[ 1.449257] sdhci: Secure Digital Host Controller Interface driver
[ 1.449274] sdhci: Copyright(c) Pierre Ossman
[ 1.450022] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.453771] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.454107] hid: raw HID events driver (C) Jiri Kosina
[ 1.454289] usbcore: registered new interface driver usbhid
[ 1.454305] usbhid: USB HID core driver
[ 1.460106] Initializing XFRM netlink socket
[ 1.460150] NET: Registered PF_PACKET protocol family
[ 1.460259] Key type dns_resolver registered
[ 1.460695] Registering SWP/SWPB emulation handler
[ 1.461500] registered taskstats version 1
[ 1.461530] Loading compiled-in X.509 certificates
[ 1.462450] Key type ._fscrypt registered
[ 1.462467] Key type .fscrypt registered
[ 1.462481] Key type fscrypt-provisioning registered
[ 1.474871] uart-pl011 fe201000.serial: there is not valid maps for state default
[ 1.475188] uart-pl011 fe201000.serial: cts_event_workaround enabled
[ 1.475322] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 34, base_baud = 0) is a PL011 rev2
[ 1.483613] bcm2835-aux-uart fe215040.serial: there is not valid maps for state default
[ 1.484476] fe215040.serial: ttyS0 at MMIO 0xfe215040 (irq = 35, base_baud = 62500000) is a 16550
[ 1.485957] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 1.486446] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 1.487703] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 1.487723] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[ 1.524234] of_cfs_init
[ 1.524375] of_cfs_init: OK
[ 1.552470] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[ 1.552915] Waiting for root device PARTUUID=5d697b61-02...
[ 1.617655] mmc1: new high speed SDIO card at address 0001
[ 1.663278] mmc0: new ultra high speed DDR50 SDHC card at address 0001
[ 1.664194] mmcblk0: mmc0:0001 SD32G 28.9 GiB
[ 1.667438] mmcblk0: p1 p2
[ 1.667992] mmcblk0: mmc0:0001 SD32G 28.9 GiB
[ 1.700032] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[ 1.700053] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[ 1.723193] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 1.887861] EXT4-fs (mmcblk0p2): recovery complete
[ 1.890352] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 1.890435] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.896031] devtmpfs: mounted
[ 1.905833] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[ 1.905860] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 1.905880] usb 1-1: Product: USB2.0 Hub
[ 1.907228] Freeing unused kernel image (initmem) memory: 2048K
[ 1.907678] Run /sbin/init as init process
[ 1.907694] with arguments:
[ 1.907707] /sbin/init
[ 1.907720] splash
[ 1.907742] with environment:
[ 1.907755] HOME=/
[ 1.907767] TERM=linux
[ 1.909148] hub 1-1:1.0: USB hub found
[ 1.909448] hub 1-1:1.0: 4 ports detected
[ 2.250855] systemd[1]: System time before build time, advancing clock.
[ 2.357870] NET: Registered PF_INET6 protocol family
[ 2.359637] Segment Routing with IPv6
[ 2.359681] In-situ OAM (IOAM) with IPv6
[ 2.440964] systemd[1]: systemd 247.3-7+rpi1 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
[ 2.441825] systemd[1]: Detected architecture arm.
[ 2.443868] systemd[1]: Set hostname to
Additional context
No response
Which application are you trying to display these characters in:
- Chromium web browser?
- A Terminal window in the GUI?
- A bare framebuffer console on the display (e.g. boot to console, or after pressing Ctrl-F1)?
For me, viewing this issue in Chromium shows the expected characters, and cutting/pasting them into Terminal also works. Only the third option, the framebuffer console, doesn't. This is expected behaviour - the virtual console only supports 256- or 512-character fonts - type showconsolefont to see which characters are available.
Matchbox-keyboard works well in OS64, but has the problem in OS32, but I am not sure if it's the application problem.
@dty717 please check your locale settings. With:
[tux@raspberrypi ~]$ localectl
System Locale: LANG=en_US.UTF-8
VC Keymap: us
X11 Layout: us
Unicode characters are being shown as expected. Sample gnome-terminal output:
