Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Apr 2022 22:36:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        standards@FreeBSD.org
Subject:   [Bug 263210] printf does not support unicode hexa code
Message-ID:  <bug-263210-99@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263210

            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 =E2=A9=BD"
printf '\u2A7D\n'

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263210-99>