This website requires JavaScript.
Explore
Help
Sign In
d
/
freebsd-skq
Watch
1
Star
0
Fork
0
You've already forked freebsd-skq
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
494278bb26
freebsd-skq
/
usr.bin
/
printf
/
tests
/
regress.l2.out
2 lines
4 B
Plaintext
Raw
Normal View
History
Unescape
Escape
printf: Allow multibyte characters for '<char> form, avoid negative codes. Examples: LC_ALL=en_US.UTF-8 printf '%d\n' $(printf \'\\303\\244) LC_ALL=en_US.ISO8859-1 printf '%d\n' $(printf \'\\344) Both of these should print 228. Like some other shells, incomplete or invalid multibyte characters yield the value of the first byte without a warning. Note that there is no general way to go back from the character code to the character.
2011-05-28 11:37:47 +00:00
228
Reference in New Issue
Copy Permalink