[Bug 263210] printf does not support unicode hexa code
Date: Sun, 10 Apr 2022 22:36:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263210
Bug ID: 263210
Summary: printf does not support unicode hexa code
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: standards
Assignee: standards@FreeBSD.org
Reporter: olivier@freebsd.org
printf (/usr/bin) and built-in from sh/tcsh shells doesn't allow to display
UTF-8 characters by using their hexa code.
Simple shell broken example (works using bash):
#!/bin/sh
echo "Trying to display UTF-8 character ⩽"
printf '\u2A7D\n'
--
You are receiving this mail because:
You are the assignee for the bug.